mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Update Csocket to 60a71941eac8e4b5728abd82deb95db4668345be
It fixes crash on SSL renegotiation if Csock object was swapped with another one
This commit is contained in:
@@ -1051,6 +1051,11 @@ void Csock::Copy( const Csock & cCopy )
|
||||
|
||||
m_pCerVerifyCB = cCopy.m_pCerVerifyCB;
|
||||
|
||||
if( m_ssl )
|
||||
{
|
||||
SSL_set_ex_data( m_ssl, GetCsockSSLIdx(), this );
|
||||
}
|
||||
|
||||
#endif /* HAVE_LIBSSL */
|
||||
|
||||
CleanupCrons();
|
||||
|
||||
Reference in New Issue
Block a user