Skip to content

Commit

Permalink
Fix PK_Key_Generation_Test for CMCE
Browse files Browse the repository at this point in the history
  • Loading branch information
FAlbertDev committed Jun 13, 2024
1 parent 3de8f58 commit 50474fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/test_pubkey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,8 @@ std::vector<Test::Result> 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");
Expand Down

0 comments on commit 50474fa

Please sign in to comment.