The USE_KTLS test is currently being done outside of the USE_OPENSSL
guard so disabling USE_OPENSSL still results in build failures on
libcs built with support for kernels before 4.17, because we enable
KTLS by default on linux. Let's move the KTLS block inside the
USE_OPENSSL guard instead.
No backport is needed since KTLS is only in 3.3.
*(cb) = (void (*) (void))ctx->tlsext_status_cb
#endif
-#endif /* USE_OPENSSL */
-
#ifdef USE_KTLS
#ifdef __linux__
#endif /* USE_KTLS */
+#endif /* USE_OPENSSL */
+
#endif /* _HAPROXY_OPENSSL_COMPAT_H */