diff options
author | Ben Laurie <ben@links.org> | 2013-10-19 12:34:15 +0100 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2013-10-19 12:34:15 +0100 |
commit | 34e43b909f02de444678d937ed3dc347ce13ba1a (patch) | |
tree | beb8ac1ae8c4c0e7c86ff397e599d30f44d73c8e /ssl/s23_clnt.c | |
parent | 62036c6fc370eb57422d3d7925070b82d2b980ac (diff) |
Cleanup.
Diffstat (limited to 'ssl/s23_clnt.c')
-rw-r--r-- | ssl/s23_clnt.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |