]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
be less specific and don't echo passphrase
authorEric Covener <covener@apache.org>
Wed, 22 Apr 2020 01:16:00 +0000 (01:16 +0000)
committerEric Covener <covener@apache.org>
Wed, 22 Apr 2020 01:16:00 +0000 (01:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876807 13f79535-47bb-0310-9956-ffa450edef68

modules/session/mod_session_crypto.c

index 6e180f8cf349b2f251dc74506bcacf79670c45b6..f072d4c6fbccba4e2463dff95dceccfc5f7b5737 100644 (file)
@@ -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)) {