summaryrefslogtreecommitdiff
path: root/cups/tls-sspi.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-05-20 18:37:52 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-05-20 18:37:52 +0000
commitb37d45d9edf36de04536cdb398ee08a025b5e6bb (patch)
tree8890a9cb460cc43031964def22456d550d4b7e69 /cups/tls-sspi.c
parentee6226a5cbe12e80205659984bfcc663375b27e6 (diff)
downloadcups-b37d45d9edf36de04536cdb398ee08a025b5e6bb.tar.gz
More tweaks for cipher suite restrictions.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12647 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/tls-sspi.c')
-rw-r--r--cups/tls-sspi.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/cups/tls-sspi.c b/cups/tls-sspi.c
index f5c44d0fb..25be327d1 100644
--- a/cups/tls-sspi.c
+++ b/cups/tls-sspi.c
@@ -54,7 +54,7 @@
* Local globals...
*/
-static int tls_options = 0;/* Options for TLS connections */
+static int tls_options = -1;/* Options for TLS connections */
/*
@@ -930,7 +930,14 @@ _httpTLSStart(http_t *http) /* I - HTTP connection */
*hostptr; /* Pointer into hostname */
- DEBUG_printf(("7_httpTLSStart(http=%p)", http));
+ DEBUG_printf(("3_httpTLSStart(http=%p)", http));
+
+ if (tls_options < 0)
+ {
+ DEBUG_puts("4_httpTLSStart: Setting defaults.");
+ _cupsSetDefaults();
+ DEBUG_printf(("4_httpTLSStart: tls_options=%x", tls_options));
+ }
if ((http->tls = http_sspi_alloc()) == NULL)
return (-1);