diff options
author | Gabriel Marks <gabriel.marks@mongodb.com> | 2020-06-26 15:42:20 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-08 23:23:41 +0000 |
commit | b0b09d66b99d80a0a65c4bc552b6e9f443aadb3b (patch) | |
tree | dca13f3eab48c9edb4f276ba89f5c8efd4338b5f /src/mongo/util/net/ssl_types.cpp | |
parent | 8895e4ca0321aa121cd0558a8622286bdf1f41b2 (diff) | |
download | mongo-b0b09d66b99d80a0a65c4bc552b6e9f443aadb3b.tar.gz |
SERVER-49112 Add Session::getSSLConfiguration
Diffstat (limited to 'src/mongo/util/net/ssl_types.cpp')
-rw-r--r-- | src/mongo/util/net/ssl_types.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mongo/util/net/ssl_types.cpp b/src/mongo/util/net/ssl_types.cpp index cc2f7e063ea..217da793c7c 100644 --- a/src/mongo/util/net/ssl_types.cpp +++ b/src/mongo/util/net/ssl_types.cpp @@ -35,21 +35,6 @@ namespace mongo { -namespace { - -const transport::Session::Decoration<SSLPeerInfo> peerInfoForSession = - transport::Session::declareDecoration<SSLPeerInfo>(); - -} // namespace - -SSLPeerInfo& SSLPeerInfo::forSession(const transport::SessionHandle& session) { - return peerInfoForSession(session.get()); -} - -const SSLPeerInfo& SSLPeerInfo::forSession(const transport::ConstSessionHandle& session) { - return peerInfoForSession(session.get()); -} - const SSLParams& getSSLGlobalParams() { return sslGlobalParams; } |