This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.2.x by this push:
new 554236b570 Demote SSL log line to debug and remove key printing
(#10054)
554236b570 is described below
commit 554236b57021bd7155d5fcf7b2ffbfab7110383f
Author: Randall Meyer <[email protected]>
AuthorDate: Tue Jul 18 14:11:49 2023 -0700
Demote SSL log line to debug and remove key printing (#10054)
Fixes issue #10040
(cherry picked from commit 13c675a8449c8c8d60218bab8cfa6b216c11dcc8)
---
iocore/net/SSLUtils.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/net/SSLUtils.cc b/iocore/net/SSLUtils.cc
index 551a1413de..7b18fdcebf 100644
--- a/iocore/net/SSLUtils.cc
+++ b/iocore/net/SSLUtils.cc
@@ -2439,7 +2439,7 @@ SSLMultiCertConfigLoader::load_certs(SSL_CTX *ctx, const
std::vector<std::string
}
if (secret_key_data.empty()) {
- Note("Empty private key for public key %.*s", int(secret_data.size()),
secret_data.data());
+ Dbg(dbg_ctl_ssl_load, "empty private key for public key %s",
cert_names_list[i].c_str());
secret_key_data = secret_data;
}
if (!SSLPrivateKeyHandler(ctx, params, keyPath.c_str(),
secret_key_data.data(), secret_key_data.size())) {