crypto: fix nettle config check for running pbkdf test
PATCH 1/1 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
--- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/Makefile +1 -1
@@ -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)
Signature · 1 line
2.5.5
Quoted 25 lines
Quoted 1 line
Quoted 1 line · Daniel P. Berrange
The pbkdf test is being built based on a check for
CONFIG_NETTLE. As offff2f982ab6ac0dd2b641d30303f72270a019f28, it should be instead checkingCONFIG_NETTLE_KDFReported-by "Dr. David Alan Gilbert" <[email protected]>Reported-by Bruce Rogers <[email protected]>Signed-off-by Daniel P. Berrange <[email protected]>--- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/Makefile +1
-1@@ -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)
Quoted 3 lines
check-unit-y += tests/test-crypto-ivgen$(EXESUF) check-unit-y += tests/test-crypto-afsplit$(EXESUF) check-unit-y += tests/test-crypto-xts$(EXESUF)
This is the same patch I've been running with - which has worked fine for me. Thanks!
Bruce
Ed Maste
Tested-byQuoted 32 lines · Bruce Rogers
Quoted 25 lines
Quoted 1 line
Quoted 1 line · Daniel P. Berrange
The pbkdf test is being built based on a check for
CONFIG_NETTLE. As offff2f982ab6ac0dd2b641d30303f72270a019f28, it should be instead checkingCONFIG_NETTLE_KDFReported-by "Dr. David Alan Gilbert" <[email protected]>Reported-by Bruce Rogers <[email protected]>Signed-off-by Daniel P. Berrange <[email protected]>--- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/Makefile +1
-1@@ -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)Quoted 3 lines
check-unit-y += tests/test-crypto-ivgen$(EXESUF) check-unit-y += tests/test-crypto-afsplit$(EXESUF) check-unit-y += tests/test-crypto-xts$(EXESUF)
This is the same patch I've been running with - which has worked fine for me. Thanks!
Quoted 3 lines
Bruce
Tested-by Bruce Rogers <[email protected]>
This fixes one of the three FreeBSD test failures I reported earlier in the thread "[PATCH v2 0/2] Fix for compile on FreeBSD/i386 (and others?)".
Quoted 16 lines · Daniel P. Berrange
The pbkdf test is being built based on a check for
CONFIG_NETTLE. As offff2f982ab6ac0dd2b641d30303f72270a019f28, it should be instead checkingCONFIG_NETTLE_KDFReported-by "Dr. David Alan Gilbert" <[email protected]>Reported-by Bruce Rogers <[email protected]>Signed-off-by Daniel P. Berrange <[email protected]>--- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/Makefile +0
-0
tests/Makefile check-unit-$(CONFIG_GNUTLS) += tests/test-io-channel-tls$(EXESUF) · line 98
Quoted 8 lines
tests/Makefile +1
-1@@ -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)
Peter, could you please apply this directly to master for rc1?
Thanks,
Paolo
Quoted 14 lines · Paolo Bonzini
Quoted 11 lines · Daniel P. Berrange
The pbkdf test is being built based on a check for
CONFIG_NETTLE. As offff2f982ab6ac0dd2b641d30303f72270a019f28, it should be instead checkingCONFIG_NETTLE_KDFReported-by "Dr. David Alan Gilbert" <[email protected]>Reported-by Bruce Rogers <[email protected]>Signed-off-by Daniel P. Berrange <[email protected]>--- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
tests/Makefile check-unit-$(CONFIG_GNUTLS) += tests/test-io-channel-tls$(EXESUF) · line 98
Quoted 13 lines
tests/Makefile +1
-1@@ -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)Peter, could you please apply this directly to master for rc1?
Dan's just sent a pullreq with it in, so I'll apply it via that.
thanks
-- PMM