]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests/crypto: print compile warning when NSS is unavailable. 21540/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 17 May 2018 15:57:32 +0000 (11:57 -0400)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 18 May 2018 14:49:08 +0000 (10:49 -0400)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/test/crypto.cc

index 5190a0bfe1671256360883e01d584136a5e91d77..90191f82482609a4f489f048aa2528c944234ebc 100644 (file)
@@ -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) {