From 34e43b909f02de444678d937ed3dc347ce13ba1a Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 19 Oct 2013 12:34:15 +0100 Subject: Cleanup. --- ssl/s23_clnt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ssl/s23_clnt.c') diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c index 65d2c26ad2..84670b6c1c 100644 --- a/ssl/s23_clnt.c +++ b/ssl/s23_clnt.c @@ -274,6 +274,7 @@ static int ssl23_no_ssl2_ciphers(SSL *s) int ssl_fill_hello_random(SSL *s, int server, unsigned char *result, int len) { int send_time = 0; + if (len < 4) return 0; if (server) -- cgit v1.2.3