From: Radoslaw Zarzynski Date: Thu, 17 May 2018 15:57:32 +0000 (-0400) Subject: tests/crypto: print compile warning when NSS is unavailable. X-Git-Tag: v14.0.0~67^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F21540%2Fhead;p=ceph.git tests/crypto: print compile warning when NSS is unavailable. Signed-off-by: Radoslaw Zarzynski --- 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) {