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

index 92eb35b61d42f015ded4e60cb8047abf7b2b8083..1c0164aeeddb509f3ce4ed40518b26658792015c 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;