summaryrefslogtreecommitdiffstats
path: root/ssl/t1_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-11-09 18:21:57 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-11-09 18:21:57 +0000
commitaf13c50d514e4d8c315f4342289644cc6dd77abf (patch)
treed305d388fc656dde60bef44f7c9d62862325f209 /ssl/t1_lib.c
parent65c2397fcebb31ef528e1bb3fbeb7f56fed16b40 (diff)
Fix wrong function codes and duplicate codes
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r--ssl/t1_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 6c2085d6aa..261e2eb811 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -301,7 +301,7 @@ unsigned char *ssl_add_serverhello_tlsext(SSL *s, unsigned char *p, unsigned cha
if(!ssl_add_serverhello_renegotiate_ext(s, 0, &el, 0))
{
- SSLerr(SSL_F_SSL_ADD_CLIENTHELLO_TLSEXT, ERR_R_INTERNAL_ERROR);
+ SSLerr(SSL_F_SSL_ADD_SERVERHELLO_TLSEXT, ERR_R_INTERNAL_ERROR);
return NULL;
}
@@ -312,7 +312,7 @@ unsigned char *ssl_add_serverhello_tlsext(SSL *s, unsigned char *p, unsigned cha
if(!ssl_add_serverhello_renegotiate_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;
}