]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix builds on some Darwin platforms.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 28 May 2015 01:14:32 +0000 (01:14 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 28 May 2015 01:14:32 +0000 (01:14 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12675 a1ca3aef-8c08-0410-bb20-df032aa958be

cups/tls-darwin.c

index 3da44f301a7a82b0b8fb33fc8dabc73d0ecb99a6..767e815b43e2be7d4edd4c373b497c94df677b5e 100644 (file)
@@ -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)