summaryrefslogtreecommitdiff
path: root/src/mongo/client/async_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/async_client.cpp')
-rw-r--r--src/mongo/client/async_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/async_client.cpp b/src/mongo/client/async_client.cpp
index 184f69689a3..374dd2cf7a7 100644
--- a/src/mongo/client/async_client.cpp
+++ b/src/mongo/client/async_client.cpp
@@ -135,7 +135,7 @@ Future<void> AsyncDBClient::authenticate(const BSONObj& params) {
std::string clientName;
#ifdef MONGO_CONFIG_SSL
if (getSSLManager()) {
- clientName = getSSLManager()->getSSLConfiguration().clientSubjectName;
+ clientName = getSSLManager()->getSSLConfiguration().clientSubjectName.toString();
}
#endif