aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-05-22 22:47:49 -0400
committerJack Lloyd <[email protected]>2018-05-22 22:47:49 -0400
commit4314e368d2638878d2e885e7599bd45b48c87c9a (patch)
treeba27a15da03209dc02acc8b9ab25c4b9b0fc916d /src/tests
parentc97b3406f544ba98ae9b579d711b887b247032a7 (diff)
Fix PBE decoding and fix test macro check
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_pubkey.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_pubkey.cpp b/src/tests/test_pubkey.cpp
index 2d4113c6d..38bfaf3a8 100644
--- a/src/tests/test_pubkey.cpp
+++ b/src/tests/test_pubkey.cpp
@@ -613,9 +613,9 @@ std::vector<Test::Result> PK_Key_Generation_Test::run()
result.test_failure("roundtrip BER private key", e.what());
}
-#if defined(BOTAN_HAS_PKCS5_PBE2) && defined(BOTAN_HAS_AES) && defined(BOTAN_HAS_SHA2_32)
+#if defined(BOTAN_HAS_PKCS5_PBES2) && defined(BOTAN_HAS_AES) && defined(BOTAN_HAS_SHA2_32)
- const std::string pbe_algo = "PBE-PKCS5v20(AES-128,SHA-256)";
+ const std::string pbe_algo = "PBE-PKCS5v20(AES-128/CBC,SHA-256)";
const std::string passphrase = Test::random_password();
try