diff options
author | Warren James <warren.james@mongodb.com> | 2022-09-07 17:17:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-09-07 18:17:23 +0000 |
commit | 969169d16c0382bab13f69a32499c111ac7c80f8 (patch) | |
tree | 6cf4bea55c1b2d0b21efed3536753216bdf43ecc /src/mongo/util/net/ssl_manager_openssl.cpp | |
parent | a40f6505e1a1ac8f886cb5946ca00e60ac4d3c41 (diff) | |
download | mongo-969169d16c0382bab13f69a32499c111ac7c80f8.tar.gz |
SERVER-69211 Fixed unneeded copy
Diffstat (limited to 'src/mongo/util/net/ssl_manager_openssl.cpp')
-rw-r--r-- | src/mongo/util/net/ssl_manager_openssl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/net/ssl_manager_openssl.cpp b/src/mongo/util/net/ssl_manager_openssl.cpp index c365777144b..a8418eed3fa 100644 --- a/src/mongo/util/net/ssl_manager_openssl.cpp +++ b/src/mongo/util/net/ssl_manager_openssl.cpp @@ -990,7 +990,7 @@ Future<OCSPFetchResponse> dispatchOCSPRequests(SSL_CTX* context, std::vector<Future<UniqueOCSPResponse>> futureResponses{}; std::vector<OCSPCertIDSet*> requestedCertIDSets{}; - for (auto host : leafResponders) { + for (auto& host : leafResponders) { auto& ocspRequestAndIDs = ocspRequestMap[host]; Future<UniqueOCSPResponse> futureResponse = retrieveOCSPResponse(host, ocspRequestAndIDs, purpose); |