aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_pubkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_pubkey.cpp')
-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