diff --git a/ciphers/elliptic_curve_key_exchange.cpp b/ciphers/elliptic_curve_key_exchange.cpp index a13450dbe..a4282a024 100644 --- a/ciphers/elliptic_curve_key_exchange.cpp +++ b/ciphers/elliptic_curve_key_exchange.cpp @@ -286,6 +286,7 @@ static void test() { std::cout << alice_shared_key << std::endl; std::cout << bob_shared_key << std::endl; + // Check whether shared keys are equal assert(alice_shared_key == bob_shared_key); }