1 #ifndef LI_SYS_CRYPTO_H
2 #define LI_SYS_CRYPTO_H
5 #if defined HAVE_LIBSSL && defined HAVE_OPENSSL_SSL_H
6 #define USE_OPENSSL_CRYPTO
9 #ifdef HAVE_WOLFSSL_SSL_H
10 #define USE_OPENSSL_CRYPTO
11 /* wolfSSL needs to be built with ./configure --enable-lighty for lighttpd.
12 * Doing so defines OPENSSL_EXTRA and HAVE_LIGHTY in <wolfssl/options.h>, and
13 * these defines are necessary for wolfSSL headers to expose sufficient openssl
14 * compatibility layer for wolfSSL to be able to provide an openssl substitute
15 * for use by lighttpd */
16 #include <wolfssl/options.h>