diff options
author | Andrew Shuvalov <andrew.shuvalov@mongodb.com> | 2020-11-19 21:11:30 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-20 14:58:12 +0000 |
commit | d3faf32669a87871992a8534cffab58d83377d79 (patch) | |
tree | 0e3302ac5eeffb47c237f609ad2328af91b4d2e9 /src/mongo/util/net/ssl_manager_openssl.cpp | |
parent | 1cabc1efdd46b045bd85189e142fd9b3fa65dc1a (diff) | |
download | mongo-d3faf32669a87871992a8534cffab58d83377d79.tar.gz |
SERVER-52710: wire up transient SSL parameters up to the NetworkInterface
Diffstat (limited to 'src/mongo/util/net/ssl_manager_openssl.cpp')
-rw-r--r-- | src/mongo/util/net/ssl_manager_openssl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/util/net/ssl_manager_openssl.cpp b/src/mongo/util/net/ssl_manager_openssl.cpp index d42474657a3..cbd75b964f2 100644 --- a/src/mongo/util/net/ssl_manager_openssl.cpp +++ b/src/mongo/util/net/ssl_manager_openssl.cpp @@ -1331,7 +1331,7 @@ private: StatusWith<boost::optional<std::vector<DERInteger>>> _parseTLSFeature(X509* peerCert) const; /** @return true if was successful, otherwise false */ - bool _setupPEM(SSL_CTX* context, const std::string& keyFile, PasswordFetcher* password); + bool _setupPEM(SSL_CTX* context, const std::string& keyFile, PasswordFetcher* password) const; /** * @param payload in-memory payload of a PEM file @@ -1340,7 +1340,7 @@ private: bool _setupPEMFromMemoryPayload(SSL_CTX* context, const std::string& payload, PasswordFetcher* password, - StringData targetClusterURI); + StringData targetClusterURI) const; /** * Setup PEM from BIO, which could be file or memory input abstraction. @@ -1356,7 +1356,7 @@ private: UniqueBIO inBio, PasswordFetcher* password, std::optional<StringData> keyFile, - std::optional<StringData> targetClusterURI); + std::optional<StringData> targetClusterURI) const; /** * Loads a certificate chain from memory into context. @@ -2437,7 +2437,7 @@ bool SSLManagerOpenSSL::_readCertificateChainFromMemory( bool SSLManagerOpenSSL::_setupPEM(SSL_CTX* context, const std::string& keyFile, - PasswordFetcher* password) { + PasswordFetcher* password) const { logv2::DynamicAttributes errorAttrs; errorAttrs.add("keyFile", keyFile); @@ -2466,7 +2466,7 @@ bool SSLManagerOpenSSL::_setupPEM(SSL_CTX* context, bool SSLManagerOpenSSL::_setupPEMFromMemoryPayload(SSL_CTX* context, const std::string& payload, PasswordFetcher* password, - StringData targetClusterURI) { + StringData targetClusterURI) const { logv2::DynamicAttributes errorAttrs; errorAttrs.add("targetClusterURI", targetClusterURI); @@ -2492,7 +2492,7 @@ bool SSLManagerOpenSSL::_setupPEMFromBIO(SSL_CTX* context, UniqueBIO inBio, PasswordFetcher* password, std::optional<StringData> keyFile, - std::optional<StringData> targetClusterURI) { + std::optional<StringData> targetClusterURI) const { logv2::DynamicAttributes errorAttrs; if (keyFile) { errorAttrs.add("keyFile", *keyFile); |