summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2025-08-10 13:54:03 +0300
committerAlexander Golubev <fatzer2@gmail.com>2025-08-11 08:04:10 +0300
commit5dd51ef567784bd5ac951f2c7fe8aa8d8a184b35 (patch)
treee0a99d358c588334ae6e798675b20e977cdeb199
parent7bfcba48321184ee4cd4c5485196ca59b4a3a37f (diff)
downloadtdelibs-5dd51ef5.tar.gz
tdelibs-5dd51ef5.zip
Fix build with SSL disabled
Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 57a94cb6f56a2c7e4900148771c44eb689d2aaa7)
-rw-r--r--tdeio/kssl/kopenssl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeio/kssl/kopenssl.h b/tdeio/kssl/kopenssl.h
index d305243e4..986ecdc86 100644
--- a/tdeio/kssl/kopenssl.h
+++ b/tdeio/kssl/kopenssl.h
@@ -56,14 +56,14 @@ class KOpenSSLProxyPrivate;
#define STACK _STACK
#endif
#endif
-#endif
-
-#include <kstaticdeleter.h>
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);
typedef int X509_LOOKUP_TYPE;
#endif
+#endif // KSSL_HAVE_SSL
+
+#include <kstaticdeleter.h>
/**
* Dynamically load and wrap OpenSSL.