diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2016-08-08 11:51:13 -0400 |
---|---|---|
committer | Spencer Jackson <spencer.jackson@mongodb.com> | 2016-08-09 19:37:44 -0400 |
commit | d930f4832631eca7092ada4328d780f2b8d19d31 (patch) | |
tree | 0b3920a9fd2172ed503f2ad4a1d9979a852d7fd3 /src/mongo/util/net/sock.h | |
parent | 4c6009e67d3e503f796b5afcbcbeaa95eba80b44 (diff) | |
download | mongo-d930f4832631eca7092ada4328d780f2b8d19d31.tar.gz |
SERVER-22826 Support X509 Authorization
Diffstat (limited to 'src/mongo/util/net/sock.h')
-rw-r--r-- | src/mongo/util/net/sock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/util/net/sock.h b/src/mongo/util/net/sock.h index a9da4bdbbfb..9828ddcf1f5 100644 --- a/src/mongo/util/net/sock.h +++ b/src/mongo/util/net/sock.h @@ -63,6 +63,7 @@ namespace mongo { class SSLManagerInterface; class SSLConnection; #endif +struct SSLPeerInfo; extern const int portSendFlags; extern const int portRecvFlags; @@ -221,7 +222,7 @@ public: * * This function may throw SocketException. */ - std::string doSSLHandshake(const char* firstBytes = NULL, int len = 0); + SSLPeerInfo doSSLHandshake(const char* firstBytes = NULL, int len = 0); /** * @return the time when the socket was opened. |