diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 5927a2842..22a0b097a 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -695,7 +695,7 @@ static int ssl3_get_server_hello(SSL *s) goto f_err; } - if (s->hit && (s->session->cipher != c)) + if (s->hit && (s->session->cipher_id != c->id)) { if (!(s->options & SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG))