From 7454cba4fa82a6e83df230a239f8ecc385c86edb Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 7 Dec 2011 12:28:50 +0000 Subject: [PATCH] fix error discrepancy --- ssl/t1_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1