mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix non-SSL build
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
#include <signal.h>
|
||||
|
||||
CZNCSock::CZNCSock(int timeout) : Csock(timeout) {
|
||||
DisableSSLProtocols(EDP_SSL);
|
||||
#ifdef HAVE_LIBSSL
|
||||
DisableSSLProtocols(EDP_SSL);
|
||||
CString sCipher = CZNC::Get().GetSSLCiphers();
|
||||
if (!sCipher.empty()) {
|
||||
SetCipher(sCipher);
|
||||
@@ -30,8 +30,8 @@ CZNCSock::CZNCSock(int timeout) : Csock(timeout) {
|
||||
}
|
||||
|
||||
CZNCSock::CZNCSock(const CString& sHost, u_short port, int timeout) : Csock(sHost, port, timeout) {
|
||||
DisableSSLProtocols(EDP_SSL);
|
||||
#ifdef HAVE_LIBSSL
|
||||
DisableSSLProtocols(EDP_SSL);
|
||||
CString sCipher = CZNC::Get().GetSSLCiphers();
|
||||
if (!sCipher.empty()) {
|
||||
SetCipher(sCipher);
|
||||
|
||||
Reference in New Issue
Block a user