summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s3_srvr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c
index 35e826f35d..a45426ac96 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -827,7 +827,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;
}