summaryrefslogtreecommitdiffstats
path: root/modules/session
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2020-04-22 03:16:00 +0200
committerEric Covener <covener@apache.org>2020-04-22 03:16:00 +0200
commite8c16c83e1bc5cfc0bd446922eddc7c885a870ec (patch)
treef0a81813401b7191f60bfe19d72014a9a14060af /modules/session
parent* modules/ssl/ssl_engine_io.c (ssl_io_filter_coalesce): Update comment only. ... (diff)
downloadapache2-e8c16c83e1bc5cfc0bd446922eddc7c885a870ec.tar.xz
apache2-e8c16c83e1bc5cfc0bd446922eddc7c885a870ec.zip
be less specific and don't echo passphrase
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876807 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/session')
-rw-r--r--modules/session/mod_session_crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/session/mod_session_crypto.c b/modules/session/mod_session_crypto.c
index 6e180f8cf3..f072d4c6fb 100644
--- a/modules/session/mod_session_crypto.c
+++ b/modules/session/mod_session_crypto.c
@@ -293,7 +293,7 @@ static apr_status_t encrypt_string(request_rec * r, const apr_crypto_t *f,
*cipher, APR_MODE_CBC, 1, 4096, f, r->pool);
if (APR_STATUS_IS_ENOKEY(res)) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, res, r, APLOGNO(01825)
- "the passphrase '%s' was empty", passphrase);
+ "failure generating key from passphrase");
}
if (APR_STATUS_IS_EPADDING(res)) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, res, r, APLOGNO(01826)
@@ -417,7 +417,7 @@ static apr_status_t decrypt_string(request_rec * r, const apr_crypto_t *f,
f, r->pool);
if (APR_STATUS_IS_ENOKEY(res)) {
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, res, r, APLOGNO(01832)
- "the passphrase '%s' was empty", passphrase);
+ "failure generating key from passphrase");
continue;
}
else if (APR_STATUS_IS_EPADDING(res)) {