diff --git a/src/lib/pubkey/hybrid_kem/hybrid_kem.h b/src/lib/pubkey/hybrid_kem/hybrid_kem.h index c78e78a6503..4a7d7e72ba5 100644 --- a/src/lib/pubkey/hybrid_kem/hybrid_kem.h +++ b/src/lib/pubkey/hybrid_kem/hybrid_kem.h @@ -12,7 +12,6 @@ #include #include -#include #include #include diff --git a/src/tests/test_tls_hybrid_kem_key.cpp b/src/tests/test_tls_hybrid_kem_key.cpp index 86a42af78de..7c1b8e7d69e 100644 --- a/src/tests/test_tls_hybrid_kem_key.cpp +++ b/src/tests/test_tls_hybrid_kem_key.cpp @@ -166,8 +166,9 @@ std::vector hybrid_kem_keypair() { Botan_Tests::CHECK("private handles empty list", [](auto& result) { - result.test_throws("hybrid KEM key does not accept an empty list of keys", - [] { Botan::TLS::Hybrid_KEM_PrivateKey({}); }); + result.test_throws("hybrid KEM key does not accept an empty list of keys", [] { + Botan::TLS::Hybrid_KEM_PrivateKey(std::vector>(0)); + }); }), Botan_Tests::CHECK("public key handles nullptr",