From: Dr. Stephen Henson Date: Wed, 7 Dec 2011 12:28:40 +0000 (+0000) Subject: fix error discrepancy X-Git-Tag: master-post-reformat~2058 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7a2362611fb7fc9b95cb47604dd5b2635c8b458f;p=oweals%2Fopenssl.git fix error discrepancy --- diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 92eb35b61d..1c0164aeed 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;