projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3cca5
)
Change error reason to match previous behaviour.
author
Adam Eijdenberg
<eijdenberg@google.com>
Tue, 4 Aug 2015 22:15:38 +0000
(15:15 -0700)
committer
Adam Eijdenberg
<eijdenberg@google.com>
Tue, 4 Aug 2015 22:15:38 +0000
(15:15 -0700)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/s3_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/s3_srvr.c
b/ssl/s3_srvr.c
index 725e3f963d93e7dd5a9d760e7e571c5c60ebd5fe..76f49bd83710b97d050522879f411f77556b117c 100644
(file)
--- 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;
}