From 4b184eaea1aca5b69a7e9509353e6c4d73cce2c1 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Fri, 27 Mar 2009 13:05:00 +0100 Subject: s3/cups: add encryption support --- source3/printing/print_cups.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/printing/print_cups.c') 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); -- cgit