From: Daniel P. Berrangé Date: Mon, 5 Sep 2022 13:37:05 +0000 (+0100) Subject: crypto: ensure LUKS tests run with GNUTLS crypto provider X-Git-Tag: v7.2.0-rc0~33^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=741c314a337ff4c79b8a86fbd5891054b0191d44;p=thirdparty%2Fqemu.git crypto: ensure LUKS tests run with GNUTLS crypto provider GNUTLS is supported as a crypto provider since commit cc4c7c738297958b3d1d16269f57d71d22f5a9ff Author: Daniel P. Berrangé Date: Wed Jun 30 17:20:02 2021 +0100 crypto: introduce build system for gnutls crypto backend So enable the LUKS tests in this config. Reviewed-by: Richard W.M. Jones Signed-off-by: Daniel P. Berrangé --- diff --git a/tests/unit/test-crypto-block.c b/tests/unit/test-crypto-block.c index 3417b67be5d..3d50eb4b6e5 100644 --- a/tests/unit/test-crypto-block.c +++ b/tests/unit/test-crypto-block.c @@ -30,7 +30,8 @@ #endif #if (defined(_WIN32) || defined RUSAGE_THREAD) && \ - (defined(CONFIG_NETTLE) || defined(CONFIG_GCRYPT)) + (defined(CONFIG_NETTLE) || defined(CONFIG_GCRYPT) || \ + defined(CONFIG_GNUTLS_CRYPTO)) #define TEST_LUKS #else #undef TEST_LUKS