]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Better fix for bug 4663
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 12 Feb 2017 09:33:47 +0000 (22:33 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 12 Feb 2017 09:33:47 +0000 (22:33 +1300)
src/security/Handshake.cc

index efd27940a54ca5971290447a2513e32efa790ca3..7a073c574b6ea057283693000595c07160e4bb25 100644 (file)
@@ -547,8 +547,8 @@ Security::HandshakeParser::ParseCertificate(const SBuf &raw, Security::CertPoint
     Must(x509Pos == x509Start + raw.length()); // no leftovers
 #else
     // workaround GCC -O3 error with unused variables. see bug 4663.
-    debugs(83, 2, "TLS parsing is not supported without OpenSSL. " <<
-           raw << ", cert=" << pCert.get());
+    (void)pCert;
+    debugs(83, 2, "TLS parsing is not supported without OpenSSL. " << raw);
 #endif
 }