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-10 14:52:48 +0300
commit57a94cb6f56a2c7e4900148771c44eb689d2aaa7 (patch)
tree47852ee6d9e39f0fb5a544cbaf9c7b5cd1d89b91
parent0a9401e9c5afd3504162aab918ad84fa279a140b (diff)
downloadtdelibs-57a94cb6f56a2c7e4900148771c44eb689d2aaa7.tar.gz
tdelibs-57a94cb6f56a2c7e4900148771c44eb689d2aaa7.zip
Fix build with SSL disabled
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
-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.