diff options
author | Björn Jacke <bj@sernet.de> | 2009-03-27 13:05:00 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-03-30 11:11:19 +0200 |
commit | 4b184eaea1aca5b69a7e9509353e6c4d73cce2c1 (patch) | |
tree | 797eca9495acfa4218b0e4deb89251295c77c315 /source3/printing | |
parent | 4b8e4ea7286f045effb6feb4c7bf8c5ef4ed2f9b (diff) | |
download | samba-4b184eaea1aca5b69a7e9509353e6c4d73cce2c1.tar.gz samba-4b184eaea1aca5b69a7e9509353e6c4d73cce2c1.tar.bz2 samba-4b184eaea1aca5b69a7e9509353e6c4d73cce2c1.zip |
s3/cups: add encryption support
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/print_cups.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index 8e792a944a..7edfb5edbe 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -93,7 +93,12 @@ static http_t *cups_connect(TALLOC_CTX *frame) alarm(timeout); } +#ifdef HAVE_HTTPCONNECTENCRYPT + http = httpConnectEncrypt(server, port, lp_cups_encrypt()); +#else http = httpConnect(server, port); +#endif + CatchSignal(SIGALRM, SIGNAL_CAST SIG_IGN); alarm(0); |