From 1f1b3bcc558cf688f6b666716101dbf3750a156f Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Mon, 26 Oct 2020 22:24:24 -0400 Subject: [PATCH] [mod_secdownload] fix compile w/ NSS on FreeBSD (thx dirk) nss/alghmac.h might not exist --- src/mod_secdownload.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod_secdownload.c b/src/mod_secdownload.c index 5398c2ea..f67c71c3 100644 --- a/src/mod_secdownload.c +++ b/src/mod_secdownload.c @@ -25,6 +25,7 @@ #elif defined(USE_WOLFSSL_CRYPTO) #include #elif defined(USE_NSS_CRYPTO) +#if 0 /*(nss/alghmac.h might not be present)*/ #ifdef NSS_VER_INCLUDE #include #else @@ -32,6 +33,7 @@ #endif #endif #endif +#endif #if defined(USE_OPENSSL_CRYPTO) && OPENSSL_VERSION_NUMBER >= 0x30000000L #define HMAC EVP_HMAC