From: Alex Rousskov Date: Fri, 15 Apr 2016 18:03:53 +0000 (-0600) Subject: Fixed "unused variable" compilation error. X-Git-Tag: SQUID_4_0_11~29^2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54b18815e7253416fce0b9b1fa952ee45c3e2e2c;p=thirdparty%2Fsquid.git Fixed "unused variable" compilation error. --- diff --git a/src/security/Handshake.cc b/src/security/Handshake.cc index 8d1bf54d87..34487b0aea 100644 --- a/src/security/Handshake.cc +++ b/src/security/Handshake.cc @@ -306,7 +306,7 @@ Security::HandshakeParser::parseVersion2HandshakeMessage(const SBuf &raw) details->tlsSupportedVersion = tkHsk.uint16("tlsSupportedVersion"); uint16_t ciphersLen = tkHsk.uint16(".cipherSpecLength"); uint16_t sessionIdLen = tkHsk.uint16(".sessionIdLength"); - uint16_t challengeLen = tkHsk.uint16(".challengeLength"); + tkHsk.skip(sizeof(uint16_t), ".challengeLength"); SBuf ciphers = tkHsk.area(ciphersLen, "Ciphers list"); parseV23Ciphers(ciphers);