Revert rev 1510 "Ask SSL clients for a ssl cert"

This commit breaks webadmin. This was found with firefox. If you got any client
certificates imported into firefox, it will ask you to select which certificate
to use a couple of times per click (once per HTTP request which means also when
loading images etc).

Since webadmin by default shares the listen port with znc, we can't limit this
SSL_VERIFY_PEER to webadmin listening ports. The simplest solution is thus to
just drop this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1514 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-05-20 11:19:17 +00:00
parent 0ad7756e85
commit 9a7956f522
-3
View File
@@ -287,9 +287,6 @@ 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