Fix error message typo, wrong function code

Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
Richard Levitte 2016-09-22 10:15:02 +02:00 committed by Matt Caswell
parent 48c054fec3
commit a449b47c7d

View File

@ -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;
}