From ff56a6b7e1e502170779802fb121b4f8f0cdc1b6 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Thu, 17 May 2018 11:57:32 -0400 Subject: [PATCH] tests/crypto: print compile warning when NSS is unavailable. Signed-off-by: Radoslaw Zarzynski --- src/test/crypto.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/crypto.cc b/src/test/crypto.cc index 5190a0bfe1671..90191f8248260 100644 --- a/src/test/crypto.cc +++ b/src/test/crypto.cc @@ -199,6 +199,8 @@ TEST(AES, ValidateLegacy) { ASSERT_EQ(plaintext, restored_plaintext); } +#else +# warning "NSS is not available. Skipping the AES.ValidateLegacy testcase!" #endif // USE_NSS TEST(AES, ValidateSecret) { -- 2.39.5