diff options
author | Bodo Möller <bodo@openssl.org> | 2002-01-14 12:37:59 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-01-14 12:37:59 +0000 |
commit | c59ba5b5287b6e4ab6bd8e097baab579622d8160 (patch) | |
tree | 41c608627ed2659241f632b7e45f3ee171303e68 /ssl/s3_clnt.c | |
parent | 45d87a1ffe45b668cb6a6645bdc3e21a69324a41 (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/s3_clnt.c')
-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 27bc16eb6b..736b6f233e 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -1338,6 +1338,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); |