mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Improve MultiSocket::ssl_handle
This commit is contained in:
@@ -2512,7 +2512,7 @@ void PeerImp::addTxSet (uint256 const& hash)
|
||||
// (both sides get the same information, neither side controls it)
|
||||
void PeerImp::getSessionCookie (std::string& strDst)
|
||||
{
|
||||
SSL* ssl = getHandshakeStream ().native_handle ();
|
||||
SSL* ssl (getHandshakeStream ().ssl_handle ());
|
||||
|
||||
if (!ssl) throw std::runtime_error ("No underlying connection");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user