From: Dr. Stephen Henson Date: Wed, 7 Dec 2011 12:28:50 +0000 (+0000) Subject: fix error discrepancy X-Git-Tag: OpenSSL_1_0_1-beta1~46 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7454cba4fa82a6e83df230a239f8ecc385c86edb;p=oweals%2Fopenssl.git fix error discrepancy --- diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index e3e3b922d1..32f99013ad 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -775,7 +775,7 @@ unsigned char *ssl_add_serverhello_tlsext(SSL *s, unsigned char *p, unsigned cha if(ssl_add_serverhello_use_srtp_ext(s, ret, &el, el)) { - SSLerr(SSL_F_SSL_ADD_CLIENTHELLO_TLSEXT, ERR_R_INTERNAL_ERROR); + SSLerr(SSL_F_SSL_ADD_SERVERHELLO_TLSEXT, ERR_R_INTERNAL_ERROR); return NULL; } ret+=el;