From 9c2131c935f052f3c783e3fd35e13f2908d02a98 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 2 Mar 2010 02:23:52 +0000 Subject: Remove auto_ptr from ECC key types --- checks/ecdsa.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'checks/ecdsa.cpp') diff --git a/checks/ecdsa.cpp b/checks/ecdsa.cpp index d76994937..10c16c162 100644 --- a/checks/ecdsa.cpp +++ b/checks/ecdsa.cpp @@ -491,8 +491,7 @@ void test_non_init_ecdsa_keys(RandomNumberGenerator& rng) std::cout << "." << std::flush; std::auto_ptr loaded_key(PKCS8::load_key(TEST_DATA_DIR "/wo_dompar_private.pkcs8.pem", rng)); - //ECDSA_PrivateKey* loaded_ec_key = dynamic_cast(loaded_key.get()); - //CHECK_MESSAGE(loaded_ec_key, "the loaded key could not be converted into an ECDSA_PrivateKey"); + std::string str_message = ("12345678901234567890abcdef12"); ECDSA_PrivateKey empty_priv; ECDSA_PublicKey empty_pub; -- cgit v1.2.3