summaryrefslogtreecommitdiffstats
path: root/ssl/s2_clnt.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-07 01:19:07 +0000
committerBodo Möller <bodo@openssl.org>2001-03-07 01:19:07 +0000
commit5277d7cb7cdaa45d2fef1ada07af3c26716c7fbe (patch)
tree6dfa72dac6f9e7e909b20d6ca49dbe1b96fa60dc /ssl/s2_clnt.c
parent0657bf9c14598f52fe3cacd0c32d99458d97659e (diff)
Fix ERR_R_... problems.
Diffstat (limited to 'ssl/s2_clnt.c')
-rw-r--r--ssl/s2_clnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s2_clnt.c b/ssl/s2_clnt.c
index b549628dbd..6e1e296b96 100644
--- a/ssl/s2_clnt.c
+++ b/ssl/s2_clnt.c
@@ -456,7 +456,7 @@ static int get_server_hello(SSL *s)
if (s->session->peer != NULL) /* can't happen*/
{
ssl2_return_error(s, SSL2_PE_UNDEFINED_ERROR);
- SSLerr(SSL_F_GET_SERVER_HELLO, SSL_R_INTERNAL_ERROR);
+ SSLerr(SSL_F_GET_SERVER_HELLO, ERR_R_INTERNAL_ERROR);
return(-1);
}
@@ -469,7 +469,7 @@ static int get_server_hello(SSL *s)
/* can't happen */
{
ssl2_return_error(s, SSL2_PE_UNDEFINED_ERROR);
- SSLerr(SSL_F_GET_SERVER_HELLO, SSL_R_INTERNAL_ERROR);
+ SSLerr(SSL_F_GET_SERVER_HELLO, ERR_R_INTERNAL_ERROR);
return(-1);
}