diff options
author | Bodo Möller <bodo@openssl.org> | 2001-03-07 01:19:07 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-03-07 01:19:07 +0000 |
commit | 5277d7cb7cdaa45d2fef1ada07af3c26716c7fbe (patch) | |
tree | 6dfa72dac6f9e7e909b20d6ca49dbe1b96fa60dc /ssl/ssl_lib.c | |
parent | 0657bf9c14598f52fe3cacd0c32d99458d97659e (diff) |
Fix ERR_R_... problems.
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 75816e70da..1edb279dc8 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -105,7 +105,7 @@ int SSL_clear(SSL *s) #else if (s->new_session) { - SSLerr(SSL_F_SSL_CLEAR,SSL_R_INTERNAL_ERROR); + SSLerr(SSL_F_SSL_CLEAR,ERR_R_INTERNAL_ERROR); return 0; } #endif @@ -1494,7 +1494,7 @@ X509 *ssl_get_server_send_cert(SSL *s) } else /* if (kalg & SSL_aNULL) */ { - SSLerr(SSL_F_SSL_GET_SERVER_SEND_CERT,SSL_R_INTERNAL_ERROR); + SSLerr(SSL_F_SSL_GET_SERVER_SEND_CERT,ERR_R_INTERNAL_ERROR); return(NULL); } if (c->pkeys[i].x509 == NULL) return(NULL); @@ -1523,7 +1523,7 @@ EVP_PKEY *ssl_get_sign_pkey(SSL *s,SSL_CIPHER *cipher) } else /* if (alg & SSL_aNULL) */ { - SSLerr(SSL_F_SSL_GET_SIGN_PKEY,SSL_R_INTERNAL_ERROR); + SSLerr(SSL_F_SSL_GET_SIGN_PKEY,ERR_R_INTERNAL_ERROR); return(NULL); } } |