From: Daniel P. Berrange Date: Mon, 4 Apr 2016 14:08:45 +0000 (+0100) Subject: crypto: fix nettle config check for running pbkdf test X-Git-Tag: TizenStudio_2.0_p2.4~27^2~6^2~8^2~65^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c44e92a4151248f80a31c8aa7343e399e508fa95;p=sdk%2Femulator%2Fqemu.git crypto: fix nettle config check for running pbkdf test The pbkdf test is being built based on a check for CONFIG_NETTLE. As of fff2f982ab6ac0dd2b641d30303f72270a019f28, it should be instead checking CONFIG_NETTLE_KDF Reported-by: "Dr. David Alan Gilbert" Tested-by: Bruce Rogers Tested-by: Ed Maste Signed-off-by: Daniel P. Berrange --- diff --git a/tests/Makefile b/tests/Makefile index 45b9048..651d8b2 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -92,7 +92,7 @@ check-unit-$(CONFIG_GNUTLS) += tests/test-io-channel-tls$(EXESUF) check-unit-y += tests/test-io-channel-command$(EXESUF) check-unit-y += tests/test-io-channel-buffer$(EXESUF) check-unit-y += tests/test-base64$(EXESUF) -check-unit-$(if $(CONFIG_NETTLE),y,$(CONFIG_GCRYPT_KDF)) += tests/test-crypto-pbkdf$(EXESUF) +check-unit-$(if $(CONFIG_NETTLE_KDF),y,$(CONFIG_GCRYPT_KDF)) += tests/test-crypto-pbkdf$(EXESUF) check-unit-y += tests/test-crypto-ivgen$(EXESUF) check-unit-y += tests/test-crypto-afsplit$(EXESUF) check-unit-y += tests/test-crypto-xts$(EXESUF)