From 50474fac091eae487ef55043dd29ae81364d501a Mon Sep 17 00:00:00 2001 From: Fabian Albert Date: Mon, 27 May 2024 16:09:38 +0200 Subject: [PATCH] Fix PK_Key_Generation_Test for CMCE --- src/tests/test_pubkey.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tests/test_pubkey.cpp b/src/tests/test_pubkey.cpp index cbe93447793..5daef542ed5 100644 --- a/src/tests/test_pubkey.cpp +++ b/src/tests/test_pubkey.cpp @@ -611,7 +611,8 @@ std::vector PK_Key_Generation_Test::run() { oid.value().to_string(), key.object_identifier().to_string()); } else { - const bool exception = name == "Kyber" || name == "FrodoKEM" || name == "SPHINCS+"; + const bool exception = + name == "Kyber" || name == "FrodoKEM" || name == "SPHINCS+" || name == "ClassicMcEliece"; if(!exception) { result.test_failure("Keys name " + name + " does not map to an OID");