From 63d3b41eeb0a3c51cb255bcfde75b7370527e37e Mon Sep 17 00:00:00 2001 From: Johannes Roth Date: Thu, 15 Jun 2023 10:42:28 +0200 Subject: [PATCH] fix exdsa_ecdhkem test: only include headers if we compile the tests --- src/tests/exdsa_ecdhkem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/exdsa_ecdhkem.cpp b/src/tests/exdsa_ecdhkem.cpp index 0beff667..663927e7 100644 --- a/src/tests/exdsa_ecdhkem.cpp +++ b/src/tests/exdsa_ecdhkem.cpp @@ -28,12 +28,12 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#if defined(ENABLE_CRYPTO_REFRESH) + #include "rnp_tests.h" #include "crypto/exdsa_ecdhkem.h" #include "crypto/bn.h" -#if defined(ENABLE_CRYPTO_REFRESH) - TEST_F(rnp_tests, test_ecdh_kem) { std::vector ciphertext;