remove CryptoError
Change-Id: Iad771cbb67932f072f67c07a9df33f19388d49f9
diff --git a/tests/unit-tests/crypto-helper.t.cpp b/tests/unit-tests/crypto-helper.t.cpp
index 4df1b02..3312c3d 100644
--- a/tests/unit-tests/crypto-helper.t.cpp
+++ b/tests/unit-tests/crypto-helper.t.cpp
@@ -55,7 +55,7 @@
BOOST_CHECK(alicePub != nullptr);
BOOST_CHECK(aliceState.m_publicKeyLen != 0);
uint8_t fakePub[] = {0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b};
- BOOST_CHECK_THROW(aliceState.deriveSecret(fakePub, sizeof(fakePub)), CryptoError);
+ BOOST_CHECK_THROW(aliceState.deriveSecret(fakePub, sizeof(fakePub)), std::runtime_error);
}
BOOST_AUTO_TEST_CASE(EcdhWithBase64Key)