summaryrefslogtreecommitdiff
path: root/src/sys-crypto.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-10-22 00:48:40 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-10-22 00:48:40 -0400
commit033209393e69206f3eeef61d629f5ecc2ea98f17 (patch)
tree6ed76f2c905ca4710783a319feb69b93d281f0eb /src/sys-crypto.h
parentfef1a9450976769d6645437b462e8075dffd3542 (diff)
downloadlighttpd-git-033209393e69206f3eeef61d629f5ecc2ea98f17.tar.gz
[multiple] test for nss includes
some distro packages deploy NSS includes under nss/, others nss3/ (and similar for nspr/ vs nspr4/)
Diffstat (limited to 'src/sys-crypto.h')
-rw-r--r--src/sys-crypto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sys-crypto.h b/src/sys-crypto.h
index 81ab28fb..26c14af0 100644
--- a/src/sys-crypto.h
+++ b/src/sys-crypto.h
@@ -29,6 +29,11 @@
#ifdef HAVE_NSS3_NSS_H
#define USE_LIB_CRYPTO
#define USE_NSS_CRYPTO
+#ifdef __has_include
+#if __has_include(<nss3/nss.h>)
+#define NSS_VER_INCLUDE
+#endif
+#endif
#endif
#ifdef HAVE_NETTLE_NETTLE_TYPES_H