diff options
Diffstat (limited to 'ssl/tls_depr.c')
-rw-r--r-- | ssl/tls_depr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ssl/tls_depr.c b/ssl/tls_depr.c index df630915d0..3fcc5b6740 100644 --- a/ssl/tls_depr.c +++ b/ssl/tls_depr.c @@ -74,12 +74,11 @@ int tls_engine_load_ssl_client_cert(SSL *s, X509 **px509, EVP_PKEY **ppkey) int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e) { if (!ENGINE_init(e)) { - SSLerr(SSL_F_SSL_CTX_SET_CLIENT_CERT_ENGINE, ERR_R_ENGINE_LIB); + ERR_raise(ERR_LIB_SSL, ERR_R_ENGINE_LIB); return 0; } if (!ENGINE_get_ssl_client_cert_function(e)) { - SSLerr(SSL_F_SSL_CTX_SET_CLIENT_CERT_ENGINE, - SSL_R_NO_CLIENT_CERT_METHOD); + ERR_raise(ERR_LIB_SSL, SSL_R_NO_CLIENT_CERT_METHOD); ENGINE_finish(e); return 0; } |