test/crypto.cc:20:31: warning: ‘crypto_env’ defined but not used [-Wunused-variable]
::testing::Environment* const crypto_env = ::testing::AddGlobalTestEnvironment(n
^
test/ceph_crypto.cc:12:31: warning: ‘crypto_env’ defined but not used [-Wunused-variable]
::testing::Environment* const crypto_env = ::testing::AddGlobalTestEnvironment(n
^
Signed-off-by: Sage Weil <sage@redhat.com>
}
};
-::testing::Environment* const crypto_env = ::testing::AddGlobalTestEnvironment(new CryptoEnvironment);
-
TEST(MD5, Simple) {
ceph::crypto::MD5 h;
h.Update((const byte*)"foo", 3);
}
};
-::testing::Environment* const crypto_env = ::testing::AddGlobalTestEnvironment(new CryptoEnvironment);
-
TEST(AES, ValidateSecret) {
CryptoHandler *h = g_ceph_context->get_crypto_handler(CEPH_CRYPTO_AES);
int l;