X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=ssl%2Fstatem%2Fstatem_lib.c;h=6f13ec0daa2112c0e2ae56667538fb9b22c39468;hb=3c106325292d30fad32b0dd4cdf2f2ec613461b1;hp=3ffe4e5751921e2b55d49a9984f2cc9065ba1695;hpb=1ff7425d6130380bb00d3e64739633a4b21b11a3;p=openssl.git diff --git a/ssl/statem/statem_lib.c b/ssl/statem/statem_lib.c index 3ffe4e5751..6f13ec0daa 100644 --- a/ssl/statem/statem_lib.c +++ b/ssl/statem/statem_lib.c @@ -276,7 +276,7 @@ int tls_construct_change_cipher_spec(SSL *s) || !WPACKET_finish(&pkt)) { WPACKET_cleanup(&pkt); ossl_statem_set_error(s); - SSLerr(SSL_F_TLS_CONSTRUCT_FINISHED, ERR_R_INTERNAL_ERROR); + SSLerr(SSL_F_TLS_CONSTRUCT_CHANGE_CIPHER_SPEC, ERR_R_INTERNAL_ERROR); ssl3_send_alert(s, SSL3_AL_FATAL, SSL_AD_INTERNAL_ERROR); return 0; }