summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-09-22 10:15:02 +0200
committerMatt Caswell <matt@openssl.org>2016-09-22 09:24:49 +0100
commita449b47c7d8e20efc8cc524ed695a060b11ef889 (patch)
tree54686e53291cdb559b119611d9b7272be3958490 /ssl
parent48c054fec3506417b2598837b8062aae7114c200 (diff)
Fix error message typo, wrong function code
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r--ssl/statem/statem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/statem/statem.c b/ssl/statem/statem.c
index 8bc1febd10..5faf6aece7 100644
--- a/ssl/statem/statem.c
+++ b/ssl/statem/statem.c
@@ -549,7 +549,7 @@ static SUB_STATE_RETURN read_state_machine(SSL *s)
(int)s->s3->tmp.message_size
+ SSL3_HM_HEADER_LENGTH)) {
ssl3_send_alert(s, SSL3_AL_FATAL, SSL_AD_INTERNAL_ERROR);
- SSLerr(SSL_F_TLS_GET_MESSAGE_HEADER, ERR_R_BUF_LIB);
+ SSLerr(SSL_F_READ_STATE_MACHINE, ERR_R_BUF_LIB);
return SUB_STATE_ERROR;
}