[mod_auth] require digest uri= match original URI
[lighttpd.git] / src / sys-crypto.h
blob8158abac58dc5926e3dfbf654e0c5fa81e621d9e
1 #ifndef LI_SYS_CRYPTO_H
2 #define LI_SYS_CRYPTO_H
3 #include "first.h"
5 #if defined HAVE_LIBSSL && defined HAVE_OPENSSL_SSL_H
6 #define USE_OPENSSL_CRYPTO
7 #endif
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>
17 #endif
19 #endif