From 51b4084ee87fecf0288ea0b90ce5f4dc36c7b566 Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 16 Jan 2013 19:30:51 +0000 Subject: - conf_parser.y: fixed warning introduced by previous commit git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1753 82007160-df01-0410-b94d-b575c5fd34c7 --- src/conf_parser.c | 4 ++-- src/conf_parser.y | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/conf_parser.c b/src/conf_parser.c index a2363fb..56734ad 100644 --- a/src/conf_parser.c +++ b/src/conf_parser.c @@ -3322,8 +3322,8 @@ yyreduce: if (!SSL_CTX_check_private_key(ServerInfo.server_ctx) || !SSL_CTX_check_private_key(ServerInfo.client_ctx)) { - report_crypto_errors("Could not read RSA private key"); - conf_error_report(ERR_lib_error_string(ERR_get_error())); + report_crypto_errors(); + conf_error_report("Could not read RSA private key"); break; } } diff --git a/src/conf_parser.y b/src/conf_parser.y index 0bc1e70..b838c00 100644 --- a/src/conf_parser.y +++ b/src/conf_parser.y @@ -524,8 +524,8 @@ serverinfo_ssl_certificate_file: SSL_CERTIFICATE_FILE '=' QSTRING ';' if (!SSL_CTX_check_private_key(ServerInfo.server_ctx) || !SSL_CTX_check_private_key(ServerInfo.client_ctx)) { - report_crypto_errors("Could not read RSA private key"); - conf_error_report(ERR_lib_error_string(ERR_get_error())); + report_crypto_errors(); + conf_error_report("Could not read RSA private key"); break; } } -- cgit