Skip to content

Commit

Permalink
* modules/ssl/ssl_engine_pphrase.c (modssl_load_keypair_engine):
Browse files Browse the repository at this point in the history
  Downgrade non-fatal errors to APLOG_NOTICE from APLOG_EMERG.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1921076 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
notroj committed Oct 1, 2024
1 parent e9915b2 commit fd9c416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ssl/ssl_engine_pphrase.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,15 +831,15 @@ static apr_status_t modssl_load_keypair_engine(server_rec *s, apr_pool_t *pconf,

c = ap_strchr_c(keyid, ':');
if (!c || c == keyid) {
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(10131)
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, s, APLOGNO(10131)
"Init: Unrecognized private key identifier `%s'",
keyid);
return APR_ENOTIMPL;
}

scheme = apr_pstrmemdup(ptemp, keyid, c - keyid);
if (!(e = ENGINE_by_id(scheme))) {
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(10132)
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, s, APLOGNO(10132)
"Init: Failed to load engine for private key %s",
keyid);
ssl_log_ssl_error(SSLLOG_MARK, APLOG_NOTICE, s);
Expand Down

0 comments on commit fd9c416

Please sign in to comment.