提交 9e87a691 编写于 作者: S Steven Luo 提交者: Michael Tokarev

Fix configure test for PBKDF2 in nettle

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: qemu-trivial@nongnu.org
Cc: qemu-stable@nongnu.org
Signed-off-by: NSteven Luo <steven+qemu@steven676.net>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 0bab0ebb
......@@ -2344,6 +2344,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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册