mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Disable insecure SSLv2 & SSLv3 protocols (ref #621)
This commit is contained in:
@@ -18,6 +18,14 @@
|
||||
#include <znc/IRCNetwork.h>
|
||||
#include <signal.h>
|
||||
|
||||
CZNCSock::CZNCSock(int timeout) : Csock(timeout) {
|
||||
DisableSSLProtocols(EDP_SSL);
|
||||
}
|
||||
|
||||
CZNCSock::CZNCSock(const CString& sHost, u_short port, int timeout) : Csock(sHost, port, timeout) {
|
||||
DisableSSLProtocols(EDP_SSL);
|
||||
}
|
||||
|
||||
unsigned int CSockManager::GetAnonConnectionCount(const CString &sIP) const {
|
||||
const_iterator it;
|
||||
unsigned int ret = 0;
|
||||
|
||||
Reference in New Issue
Block a user