提交 c59ba5b5 编写于 作者: B Bodo Möller

Return -1 from ssl3_get_server_done (ssl3/s3_clnt.c) if

the SSL_R_LENGTH_MISMATCH error is detected.
上级 45d87a1f
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
*) applies to 0.9.6a/0.9.6b/0.9.6c and 0.9.7 *) applies to 0.9.6a/0.9.6b/0.9.6c and 0.9.7
+) applies to 0.9.7 only +) 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. +) New experimental application configuration code.
[Steve Henson] [Steve Henson]
......
...@@ -1338,6 +1338,7 @@ static int ssl3_get_server_done(SSL *s) ...@@ -1338,6 +1338,7 @@ static int ssl3_get_server_done(SSL *s)
/* should contain no data */ /* should contain no data */
ssl3_send_alert(s,SSL3_AL_FATAL,SSL_AD_DECODE_ERROR); ssl3_send_alert(s,SSL3_AL_FATAL,SSL_AD_DECODE_ERROR);
SSLerr(SSL_F_SSL3_GET_SERVER_DONE,SSL_R_LENGTH_MISMATCH); SSLerr(SSL_F_SSL3_GET_SERVER_DONE,SSL_R_LENGTH_MISMATCH);
return -1;
} }
ret=1; ret=1;
return(ret); return(ret);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册