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 e3e3b92..32f9901 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;