]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't try to access non-existent keychain.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 19 Dec 2013 20:29:32 +0000 (20:29 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 19 Dec 2013 20:29:32 +0000 (20:29 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11479 a1ca3aef-8c08-0410-bb20-df032aa958be

cups/tls-darwin.c

index 35fcc0c830826d6637a0c81580f26301282fa617..33a70cd5bf49b954e823f2ae0c24a675d00ec582 100644 (file)
@@ -1121,7 +1121,11 @@ http_tls_start(http_t *http)             /* I - HTTP connection */
 
   DEBUG_printf(("7http_tls_start(http=%p)", http));
 
+#ifdef HAVE_SECKEYCHAINOPEN
   if (http->mode == _HTTP_MODE_SERVER && !tls_keychain)
+#else
+  if (http->mode == _HTTP_MODE_SERVER)
+#endif /* HAVE_SECKEYCHAINOPEN */
   {
     DEBUG_puts("4http_tls_start: cupsSetServerCredentials not called.");
     http->error  = errno = EINVAL;