]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix crash bug with GNU TLS.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 8 Nov 2013 16:01:19 +0000 (16:01 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 8 Nov 2013 16:01:19 +0000 (16:01 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11420 a1ca3aef-8c08-0410-bb20-df032aa958be

cups/http.c

index 51b63197cc516475716d3105933d3a5f53a24abe..9c82fdcaa9330a86ca6ab1fb802f8fbae9424b1c 100644 (file)
@@ -3141,7 +3141,7 @@ _httpWait(http_t *http,                   /* I - HTTP connection */
   */
 
 #ifdef HAVE_SSL
-  if (http_tls_pending(http))
+  if (http->tls && http_tls_pending(http))
   {
     DEBUG_puts("5_httpWait: Return 1 since there is pending TLS data.");
     return (1);