diff options
author | Bodo Möller <bodo@openssl.org> | 2002-01-14 12:42:38 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-01-14 12:42:38 +0000 |
commit | 5f18fe493ef27da560abdd71f9bc2210d1f64488 (patch) | |
tree | 8cfa4dfc5eaa97889f285973da8ae9b5d26024d1 /ssl | |
parent | d16e3759a8be930844e94003ba1068b9ea0a7dd8 (diff) |
Return -1 from ssl3_get_server_done (ssl3/s3_clnt.c) if
the SSL_R_LENGTH_MISMATCH error is detected.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_clnt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 4d6da271a8..6d83c57125 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -1314,6 +1314,7 @@ static int ssl3_get_server_done(SSL *s) /* should contain no data */ ssl3_send_alert(s,SSL3_AL_FATAL,SSL_AD_DECODE_ERROR); SSLerr(SSL_F_SSL3_GET_SERVER_DONE,SSL_R_LENGTH_MISMATCH); + return -1; } ret=1; return(ret); |