aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_ecdsa.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-18 17:12:30 +0000
committerlloyd <[email protected]>2014-01-18 17:12:30 +0000
commit4917f26a2b154e841cd27c1bcecdd41d2bdeb6ce (patch)
tree0456ae4efcd748ececc83a35a6353373778e1291 /src/tests/unit_ecdsa.cpp
parent560b7671685317035e724b4c75030dc5cf86f461 (diff)
Remove PBES1 entirely
Diffstat (limited to 'src/tests/unit_ecdsa.cpp')
-rw-r--r--src/tests/unit_ecdsa.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/unit_ecdsa.cpp b/src/tests/unit_ecdsa.cpp
index 436d9dca6..2953073d2 100644
--- a/src/tests/unit_ecdsa.cpp
+++ b/src/tests/unit_ecdsa.cpp
@@ -440,14 +440,12 @@ size_t test_read_pkcs8(RandomNumberGenerator& rng)
size_t test_ecc_key_with_rfc5915_extensions(RandomNumberGenerator& rng)
{
- const std::string pw = "G3bz1L1gmB5ULietOZdoLPu63D7uwTLMEk";
-
size_t fails = 0;
try
{
std::unique_ptr<PKCS8_PrivateKey> pkcs8(
- PKCS8::load_key(ECC_TEST_DATA_DIR "/ecc_private_with_rfc5915_ext.pem", rng, pw));
+ PKCS8::load_key(ECC_TEST_DATA_DIR "/ecc_private_with_rfc5915_ext.pem", rng));
if(!dynamic_cast<ECDSA_PrivateKey*>(pkcs8.get()))
{