summaryrefslogtreecommitdiff
path: root/src/sys-crypto.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-07-03 15:08:51 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 22:51:32 -0400
commit98a224a4a286688d87f7c80dbf5a3a202f0f89d5 (patch)
treedbc18b6d3b92108fff1a94fd380f2525ac84fd2d /src/sys-crypto.h
parented088f57285becd57e7730e6c397eb359b87dcb9 (diff)
downloadlighttpd-git-98a224a4a286688d87f7c80dbf5a3a202f0f89d5.tar.gz
[mod_openssl] prefer some WolfSSL native APIs
Prefer some WolfSSL native APIs when building with WolfSSL. However, some functionality in WolfSSL is available only through the WolfSSL compatibility layer for OpenSSL, so the effort to create a native mod_wolfssl halted here.
Diffstat (limited to 'src/sys-crypto.h')
-rw-r--r--src/sys-crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys-crypto.h b/src/sys-crypto.h
index 0eadaca9..7ea3a29a 100644
--- a/src/sys-crypto.h
+++ b/src/sys-crypto.h
@@ -9,7 +9,7 @@
#ifdef HAVE_WOLFSSL_SSL_H
#define USE_LIB_CRYPTO
-#define USE_OPENSSL_CRYPTO
+#define USE_WOLFSSL_CRYPTO
/* wolfSSL needs to be built with ./configure --enable-lighty for lighttpd.
* Doing so defines OPENSSL_EXTRA and HAVE_LIGHTY in <wolfssl/options.h>, and
* these defines are necessary for wolfSSL headers to expose sufficient openssl