summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-01-06 18:02:07 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-01-06 18:02:07 +0000
commitf244ed3ed219af2dc4e7f8907e7886b792bc8d0c (patch)
treefae6f19ab48a09a593a8937e194f071aa6c05b53 /ssl
parent50a095ed16c04da9c99972fd13e13283b22ad035 (diff)
correct error codes
Diffstat (limited to 'ssl')
-rw-r--r--ssl/d1_clnt.c2
-rw-r--r--ssl/d1_srvr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c
index 668475c2a2..59cb3daedc 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -695,7 +695,7 @@ int dtls1_client_hello(SSL *s)
#ifndef OPENSSL_NO_TLSEXT
if ((p = ssl_add_clienthello_tlsext(s, p, buf+SSL3_RT_MAX_PLAIN_LENGTH)) == NULL)
{
- SSLerr(SSL_F_SSL3_CLIENT_HELLO,ERR_R_INTERNAL_ERROR);
+ SSLerr(SSL_F_DTLS1_CLIENT_HELLO,ERR_R_INTERNAL_ERROR);
goto err;
}
#endif
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c
index e4e255ddaa..748bd86af4 100644
--- a/ssl/d1_srvr.c
+++ b/ssl/d1_srvr.c
@@ -795,7 +795,7 @@ int dtls1_send_server_hello(SSL *s)
#ifndef OPENSSL_NO_TLSEXT
if ((p = ssl_add_serverhello_tlsext(s, p, buf+SSL3_RT_MAX_PLAIN_LENGTH)) == NULL)
{
- SSLerr(SSL_F_SSL3_SEND_SERVER_HELLO,ERR_R_INTERNAL_ERROR);
+ SSLerr(SSL_F_DTLS1_SEND_SERVER_HELLO,ERR_R_INTERNAL_ERROR);
return -1;
}
#endif