From: msweet Date: Thu, 28 May 2015 01:14:32 +0000 (+0000) Subject: Fix builds on some Darwin platforms. X-Git-Tag: v2.2b1~280 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4492316e9caca4db18085874defaf6e00b3922fe;p=thirdparty%2Fcups.git Fix builds on some Darwin platforms. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12675 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/cups/tls-darwin.c b/cups/tls-darwin.c index 3da44f301a..767e815b43 100644 --- a/cups/tls-darwin.c +++ b/cups/tls-darwin.c @@ -41,8 +41,8 @@ static char *tls_keypath = NULL; /* Server cert keychain path */ static _cups_mutex_t tls_mutex = _CUPS_MUTEX_INITIALIZER; /* Mutex for keychain/certs */ -static int tls_options = -1;/* Options for TLS connections */ #endif /* HAVE_SECKEYCHAINOPEN */ +static int tls_options = -1;/* Options for TLS connections */ /* @@ -1061,7 +1061,7 @@ _httpTLSStart(http_t *http) /* I - HTTP connection */ if (!error) { SSLProtocol minProtocol; - + if (tls_options & _HTTP_TLS_DENY_TLS10) minProtocol = kTLSProtocol11; else if (tls_options & _HTTP_TLS_ALLOW_SSL3)