From 9a7956f522b448472c0bc1cc66058951873426a6 Mon Sep 17 00:00:00 2001 From: psychon Date: Wed, 20 May 2009 11:19:17 +0000 Subject: [PATCH] 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 --- znc.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/znc.h b/znc.h index 7aca2ea8..791a8c84 100644 --- a/znc.h +++ b/znc.h @@ -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