diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-01-16 19:30:51 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-01-16 19:30:51 +0000 |
commit | 51b4084ee87fecf0288ea0b90ce5f4dc36c7b566 (patch) | |
tree | 5e18193f04f0db83881afda547f8a93b2cf1e3ed | |
parent | 844d299bc4c7f24d3eaecd66aa303f8c1e3853ca (diff) |
- 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
-rw-r--r-- | src/conf_parser.c | 4 | ||||
-rw-r--r-- | 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; } } |