Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FAlbertDev committed May 22, 2024
1 parent bdc7022 commit abd1c0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lib/pubkey/hybrid_kem/hybrid_kem.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

#include <botan/pk_algs.h>
#include <botan/pubkey.h>
#include <botan/internal/pk_ops_impl.h>

#include <memory>
#include <vector>
Expand Down
5 changes: 3 additions & 2 deletions src/tests/test_tls_hybrid_kem_key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ std::vector<Test::Result> 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<std::unique_ptr<Botan::Private_Key>>(0));
});
}),

Botan_Tests::CHECK("public key handles nullptr",
Expand Down

0 comments on commit abd1c0d

Please sign in to comment.