Ask SSL clients for a ssl cert

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1510 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-05-20 08:48:22 +00:00
parent 37d0c5e58e
commit d980b42b90
+3
View File
@@ -287,6 +287,9 @@ public:
if (IsSSL()) {
bSSL = true;
m_pListener->SetPemLocation(CZNC::Get().GetPemLocation());
// Ask the client for a cert, if it got none, nothing bad happens
m_pListener->SetRequireClientCertFlags(SSL_VERIFY_PEER);
}
#endif