fix error discrepancy
authorDr. Stephen Henson <steve@openssl.org>
Wed, 7 Dec 2011 12:28:50 +0000 (12:28 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 7 Dec 2011 12:28:50 +0000 (12:28 +0000)
ssl/t1_lib.c

index e3e3b922d1faad7b011aa2e3f400254d3bdef1ef..32f99013ade0314af9189ac31978615a619cfab2 100644 (file)
@@ -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;