mirror of
https://github.com/znc/znc.git
synced 2026-07-21 09:03:32 +02:00
Update Csocket to f3267e4cb21ba5b83c15da75f52706253817ddab
* Fix SSL crash. Thanks to kerio for reporting it.
This commit is contained in:
@@ -1055,6 +1055,9 @@ void Csock::Copy( const Csock & cCopy )
|
||||
if( m_ssl )
|
||||
{
|
||||
SSL_set_ex_data( m_ssl, GetCsockSSLIdx(), this );
|
||||
#if defined( SSL_CTX_set_tlsext_servername_callback )
|
||||
SSL_CTX_set_tlsext_servername_arg( m_ssl_ctx, this );
|
||||
#endif /* SSL_CTX_set_tlsext_servername_callback */
|
||||
}
|
||||
|
||||
#endif /* HAVE_LIBSSL */
|
||||
|
||||
Reference in New Issue
Block a user