Change error reason to match previous behaviour.
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
6c3cca5793
commit
6f136aa6fc
@ -1014,7 +1014,7 @@ int ssl3_get_client_hello(SSL *s)
|
||||
if (!PACKET_get_net_2(&pkt, &csl)
|
||||
|| !PACKET_get_net_2(&pkt, &sil)
|
||||
|| !PACKET_get_net_2(&pkt, &cl)) {
|
||||
SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO, SSL_R_LENGTH_TOO_SHORT);
|
||||
SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO, SSL_R_RECORD_LENGTH_MISMATCH);
|
||||
al = SSL_AD_DECODE_ERROR;
|
||||
goto f_err;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user