summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_s2k.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypt_ops/crypto_s2k.c')
-rw-r--r--src/lib/crypt_ops/crypto_s2k.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/crypto_s2k.c b/src/lib/crypt_ops/crypto_s2k.c
index 3a9ed5ef58..cdd8eb3a15 100644
--- a/src/lib/crypt_ops/crypto_s2k.c
+++ b/src/lib/crypt_ops/crypto_s2k.c
@@ -26,7 +26,9 @@
#include <openssl/evp.h>
#endif
#ifdef ENABLE_NSS
+DISABLE_GCC_WARNING("-Wstrict-prototypes")
#include <pk11pub.h>
+ENABLE_GCC_WARNING("-Wstrict-prototypes")
#endif
#if defined(HAVE_LIBSCRYPT_H) && defined(HAVE_LIBSCRYPT_SCRYPT)