diff options
Diffstat (limited to 'src/mongo/util/net/sock.cpp')
-rw-r--r-- | src/mongo/util/net/sock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/net/sock.cpp b/src/mongo/util/net/sock.cpp index ed4092bbac1..5466c21dd4b 100644 --- a/src/mongo/util/net/sock.cpp +++ b/src/mongo/util/net/sock.cpp @@ -306,9 +306,9 @@ void Socket::secureAccepted(SSLManagerInterface* ssl) { _sslManager = ssl; } -SSLPeerInfo Socket::doSSLHandshake(const char* firstBytes, int len) { +std::string Socket::doSSLHandshake(const char* firstBytes, int len) { if (!_sslManager) - return SSLPeerInfo(); + return ""; fassert(16506, _fd != INVALID_SOCKET); if (_sslConnection.get()) { throw SocketException(SocketException::RECV_ERROR, |