diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 535b61b83a..e3d8c786b5 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -769,7 +769,7 @@ int ssl3_get_client_hello(SSL *s) session_length = *(p + SSL3_RANDOM_SIZE); cookie_length = *(p + SSL3_RANDOM_SIZE + session_length + 1); - if (cookie_len == 0) + if (cookie_length == 0) return 1; }