diff options
author | Kevin Pulo <kevin.pulo@mongodb.com> | 2020-07-07 22:02:16 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-23 05:57:22 +0000 |
commit | 6b5b168edf19e336dacff0a8c54a9dd1f32ed1e2 (patch) | |
tree | bf2c72c3d19aecda97bad2f9e314a64f1bde10cf /src/mongo/util/net | |
parent | 00d90d78e84cdc16a03a2a5173ce797e3c3745b9 (diff) | |
download | mongo-6b5b168edf19e336dacff0a8c54a9dd1f32ed1e2.tar.gz |
SERVER-49189 pass current cachedValue (and time, if causally consistent) to ReadThroughCache::LookupFn
Diffstat (limited to 'src/mongo/util/net')
-rw-r--r-- | src/mongo/util/net/ssl_manager_openssl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/util/net/ssl_manager_openssl.cpp b/src/mongo/util/net/ssl_manager_openssl.cpp index 8233d0fb472..2d0b1dce93e 100644 --- a/src/mongo/util/net/ssl_manager_openssl.cpp +++ b/src/mongo/util/net/ssl_manager_openssl.cpp @@ -964,7 +964,9 @@ public: } private: - static LookupResult _lookup(OperationContext* opCtx, const OCSPCacheKey& key) { + static LookupResult _lookup(OperationContext* opCtx, + const OCSPCacheKey& key, + const ValueHandle& unusedCachedValue) { // If there is a CRL file, we expect the CRL file to cover the certificate status // information, and therefore we don't need to make a roundtrip. if (!getSSLGlobalParams().sslCRLFile.empty()) { |