diff options
author | Vincent Richard <[email protected]> | 2012-12-10 21:59:19 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2012-12-10 21:59:19 +0000 |
commit | 87259631e4f9baf4cafb55a75db16ca9cc20d40e (patch) | |
tree | 0a423447f8f028d9b215641d4047666cd2860d48 /src/security/sasl/SASLSocket.cpp | |
parent | Fixed doc for classes in "net" package not being generated. (diff) | |
download | vmime-87259631e4f9baf4cafb55a75db16ca9cc20d40e.tar.gz vmime-87259631e4f9baf4cafb55a75db16ca9cc20d40e.zip |
SSL server identity check.
Diffstat (limited to 'src/security/sasl/SASLSocket.cpp')
-rw-r--r-- | src/security/sasl/SASLSocket.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/security/sasl/SASLSocket.cpp b/src/security/sasl/SASLSocket.cpp index c3498d22..a4b0ea56 100644 --- a/src/security/sasl/SASLSocket.cpp +++ b/src/security/sasl/SASLSocket.cpp @@ -81,6 +81,18 @@ SASLSocket::size_type SASLSocket::getBlockSize() const } +const string SASLSocket::getPeerName() const +{ + return m_wrapped->getPeerName(); +} + + +const string SASLSocket::getPeerAddress() const +{ + return m_wrapped->getPeerAddress(); +} + + void SASLSocket::receive(string& buffer) { const size_type n = receiveRaw(m_recvBuffer, sizeof(m_recvBuffer)); |