Skip to content

Commit

Permalink
Remove ECB tests when using Botan
Browse files Browse the repository at this point in the history
From Botan v2.0.0 (2017-01-06) release notes:
The deprecated ECB Cipher_Mode class has been removed (GH softhsm#756)

Signed-off-by: Björn Svensson <[email protected]>
  • Loading branch information
bjosv committed Nov 29, 2024
1 parent 093673d commit 9a69d65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/crypto/test/AESTests.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ class AESTests : public CppUnit::TestFixture
CPPUNIT_TEST_SUITE(AESTests);
CPPUNIT_TEST(testBlockSize);
CPPUNIT_TEST(testCBC);
#ifndef WITH_BOTAN
CPPUNIT_TEST(testECB);
#endif
CPPUNIT_TEST(testCTR);
CPPUNIT_TEST(testGCM);
#ifdef HAVE_AES_KEY_WRAP
Expand Down
2 changes: 2 additions & 0 deletions src/lib/crypto/test/DESTests.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ class DESTests : public CppUnit::TestFixture
CPPUNIT_TEST_SUITE(DESTests);
CPPUNIT_TEST(testBlockSize);
CPPUNIT_TEST(testCBC);
#ifndef WITH_BOTAN
CPPUNIT_TEST(testECB);
#endif
CPPUNIT_TEST(testOFB);
CPPUNIT_TEST(testCFB);
CPPUNIT_TEST_SUITE_END();
Expand Down

0 comments on commit 9a69d65

Please sign in to comment.