]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed TLS message type logging when SslBump parses TLS handshake.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 17 Aug 2016 23:15:03 +0000 (17:15 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 17 Aug 2016 23:15:03 +0000 (17:15 -0600)
C++ streams write uint8_t as char.

src/security/Handshake.cc

index c664f41f48e622a66c6fc0ffb865b49c9c9761b1..a546faec06439e5ba9e75f99ebe600bc900dcfff 100644 (file)
@@ -337,7 +337,7 @@ Security::HandshakeParser::parseHandshakeMessage()
         return;
     }
     debugs(83, 5, "ignoring " << message.msg_body.length() << "-byte type-" <<
-           message.msg_type << " handshake message");
+           static_cast<unsigned int>(message.msg_type) << " handshake message");
 }
 
 void