[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PULL 25/52] Fix configure test for PBKDF2 in nettle
From: |
Michael Tokarev |
Subject: |
[Qemu-stable] [PULL 25/52] Fix configure test for PBKDF2 in nettle |
Date: |
Sun, 5 Jun 2016 10:43:02 +0300 |
From: Steven Luo <address@hidden>
On my Debian jessie system, including nettle/pbkdf2.h does not cause
NULL to be defined, which causes the test to fail to compile. Include
stddef.h to bring in a definition of NULL.
Cc: address@hidden
Cc: address@hidden
Signed-off-by: Steven Luo <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
configure | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure b/configure
index f37909d..fd71618 100755
--- a/configure
+++ b/configure
@@ -2343,6 +2343,7 @@ if test "$nettle" != "no"; then
nettle="yes"
cat > $TMPC << EOF
+#include <stddef.h>
#include <nettle/pbkdf2.h>
int main(void) {
pbkdf2_hmac_sha256(8, NULL, 1000, 8, NULL, 8, NULL);
--
2.1.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-stable] [PULL 25/52] Fix configure test for PBKDF2 in nettle,
Michael Tokarev <=