mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
Return -1 from ssl3_get_server_done (ssl3/s3_clnt.c) if
the SSL_R_LENGTH_MISMATCH error is detected.
This commit is contained in:
parent
45d87a1ffe
commit
c59ba5b528
4
CHANGES
4
CHANGES
@ -12,6 +12,10 @@
|
||||
*) applies to 0.9.6a/0.9.6b/0.9.6c and 0.9.7
|
||||
+) applies to 0.9.7 only
|
||||
|
||||
*) Bugfix: Return -1 from ssl3_get_server_done (ssl3/s3_clnt.c)
|
||||
if the SSL_R_LENGTH_MISMATCH error is detected.
|
||||
[Geoff Thorpe, Bodo Moeller]
|
||||
|
||||
+) New experimental application configuration code.
|
||||
[Steve Henson]
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user