summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-12-07 12:28:40 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-12-07 12:28:40 +0000
commit7a2362611fb7fc9b95cb47604dd5b2635c8b458f (patch)
tree639c9928443a357193b283d2f23c2c5cdbaa7809
parent618eb125f01c64640ff86f343c9dc1d037499175 (diff)
fix error discrepancy
-rw-r--r--ssl/t1_lib.c2
1 files changed, 1 insertions, 1 deletions
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;