]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
_httpWait's usessl parameter wasn't being used.
authorMichael R Sweet <msweet@msweet.org>
Mon, 22 Sep 2025 17:20:14 +0000 (13:20 -0400)
committerMichael R Sweet <msweet@msweet.org>
Mon, 22 Sep 2025 17:20:14 +0000 (13:20 -0400)
cups/http.c

index d31bc76b09f83ef8fe10d797e7305a6f1132fbf7..7a42cb3d69b0704ce4837130b4882aefcae03222 100644 (file)
@@ -3039,7 +3039,7 @@ _httpWait(http_t *http,                   /* I - HTTP connection */
   */
 
 #ifdef HAVE_TLS
-  if (http->tls && _httpTLSPending(http))
+  if (usessl && http->tls && _httpTLSPending(http))
   {
     DEBUG_puts("5_httpWait: Return 1 since there is pending TLS data.");
     return (1);