From: Amos Jeffries Date: Mon, 2 Mar 2015 14:39:21 +0000 (-0800) Subject: Remove SSLv2 support in SSL BIO code X-Git-Tag: merge-candidate-3-v1~233 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d85aad1bff8e18e71a291b299e565189a783378e;p=thirdparty%2Fsquid.git Remove SSLv2 support in SSL BIO code We are not supporting SSLv2 features anymore. --- diff --git a/src/ssl/bio.cc b/src/ssl/bio.cc index a880278dce..7647a5f686 100644 --- a/src/ssl/bio.cc +++ b/src/ssl/bio.cc @@ -150,7 +150,7 @@ Ssl::Bio::stateChanged(const SSL *ssl, int where, int ret) bool Ssl::ClientBio::isClientHello(int state) { - return (state == SSL2_ST_GET_CLIENT_HELLO_A || + return ( state == SSL3_ST_SR_CLNT_HELLO_A || state == SSL23_ST_SR_CLNT_HELLO_A || state == SSL23_ST_SR_CLNT_HELLO_B ||