From dfcf773206d5908417b639a519cb0c56dde08cbe Mon Sep 17 00:00:00 2001 From: Hakase Date: Fri, 20 Apr 2018 22:45:31 +0900 Subject: [PATCH] Fix type error --- ssl/s3_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 69e94a4c..d13bb8d7 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -4203,7 +4203,7 @@ const SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt, // if ((alg_a & SSL_aECDSA) && s->version != TLS1_2_VERSION) continue; if ((alg_a & SSL_aRSA) && (alg_k & SSL_kRSA) && - (algorithm_mac != SSL_AEAD) && + (c->algorithm_mac != SSL_AEAD) && s->version == TLS1_2_VERSION) ok = 0; #ifndef OPENSSL_NO_PSK