]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix typo in rev.14670
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 19 May 2016 13:14:46 +0000 (01:14 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 19 May 2016 13:14:46 +0000 (01:14 +1200)
src/ssl/bio.cc

index dca2b430ca0090a282871e8c49a71e96a3e20c22..fb68f86471a05136dd65ce01d6bbffb3d6162816 100644 (file)
@@ -668,7 +668,7 @@ applyTlsDetailsToSSL(SSL *ssl, Security::TlsDetails::Pointer const &details, Ssl
 #if defined(TLSEXT_TYPE_application_layer_protocol_negotiation)
     if (!details->tlsAppLayerProtoNeg.isEmpty()) {
         if (bumpMode == Ssl::bumpPeek)
-            SSL_set_alpn_protos(ssl, (const unsigned char*)details->tlsAppLayerProtoNeg.rawContent(), tlsAppLayerProtoNeg.length());
+            SSL_set_alpn_protos(ssl, (const unsigned char*)details->tlsAppLayerProtoNeg.rawContent(), details->tlsAppLayerProtoNeg.length());
         else {
             static const unsigned char supported_protos[] = {8, 'h','t','t', 'p', '/', '1', '.', '1'};
             SSL_set_alpn_protos(ssl, supported_protos, sizeof(supported_protos));