diff options
author | Adam Eijdenberg <eijdenberg@google.com> | 2015-08-04 15:15:38 -0700 |
---|---|---|
committer | Adam Eijdenberg <eijdenberg@google.com> | 2015-08-04 15:15:38 -0700 |
commit | 6f136aa6fc834fd841aee6c5267288ed13aae19d (patch) | |
tree | 9915da93177e9621918bc78fce29d1c1a7eeb4a9 /ssl | |
parent | 6c3cca5793b1ac57daceb8111d842f954a5ecf6a (diff) | |
download | openssl-6f136aa6fc834fd841aee6c5267288ed13aae19d.tar.gz |
Change error reason to match previous behaviour.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_srvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 725e3f963d..76f49bd837 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -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; } |