From: msweet Date: Fri, 8 Nov 2013 16:01:19 +0000 (+0000) Subject: Fix crash bug with GNU TLS. X-Git-Tag: v2.2b1~808 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bf2b8e94aaedcf4334d64b1958bb1ccce043d59;p=thirdparty%2Fcups.git Fix crash bug with GNU TLS. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11420 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/cups/http.c b/cups/http.c index 51b63197cc..9c82fdcaa9 100644 --- a/cups/http.c +++ b/cups/http.c @@ -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);