]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/http.c
Fix crash bug with GNU TLS.
[thirdparty/cups.git] / 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);