mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix connection of SSL clients to ZNC
This commit is contained in:
@@ -72,6 +72,10 @@ int CZNCSock::VerifyPeerCertificate(int iPreVerify, X509_STORE_CTX * pStoreCTX)
|
||||
}
|
||||
|
||||
void CZNCSock::SSLHandShakeFinished() {
|
||||
if (GetType() != ETConn::OUTBOUND) {
|
||||
return;
|
||||
}
|
||||
|
||||
X509* pCert = GetX509();
|
||||
if (!pCert) {
|
||||
DEBUG(GetSockName() + ": No cert");
|
||||
|
||||
Reference in New Issue
Block a user