Add SNI client support

Close #1200
This commit is contained in:
Adam
2015-12-03 21:10:45 -05:00
committed by Alexey Sokolov
parent b2ed9d7615
commit 47f887ce43
2 changed files with 6 additions and 0 deletions

View File

@@ -126,6 +126,11 @@ void CZNCSock::SSLHandShakeFinished() {
CallSockError(errnoBadSSLCert, sErrorMsg);
Close();
}
bool CZNCSock::SNIConfigureClient(CString& sHostname) {
sHostname = m_HostToVerifySSL;
return true;
}
#endif
CString CZNCSock::GetSSLPeerFingerprint() const {