You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2019/02/28 15:57:29 UTC

[trafficserver] branch master updated: Remove extra vars to bwprint in SSLConfigParams::getCTX

This is an automated email from the ASF dual-hosted git repository.

amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 4fdc01c  Remove extra vars to bwprint in SSLConfigParams::getCTX
4fdc01c is described below

commit 4fdc01c5c8e595c521e983eacdfa9d744f15b895
Author: dyrock <ze...@gmail.com>
AuthorDate: Wed Feb 27 16:46:09 2019 -0600

    Remove extra vars to bwprint in SSLConfigParams::getCTX
---
 iocore/net/SSLConfig.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iocore/net/SSLConfig.cc b/iocore/net/SSLConfig.cc
index 51855b4..dd4edcf 100644
--- a/iocore/net/SSLConfig.cc
+++ b/iocore/net/SSLConfig.cc
@@ -668,7 +668,7 @@ SSLConfigParams::getCTX(const char *client_cert, const char *key_file, const cha
   CTX_MAP *ctx_map    = nullptr;
   std::string top_level_key, ctx_key;
   ts::bwprint(top_level_key, "{}:{}", ca_bundle_file, ca_bundle_path);
-  ts::bwprint(ctx_key, "{}:{}", client_cert, key_file, ca_bundle_file, ca_bundle_path);
+  ts::bwprint(ctx_key, "{}:{}", client_cert, key_file);
 
   ink_mutex_acquire(&ctxMapLock);
   // Do first level searching and create new CTX_MAP as second level if not exists.