diff options
author | lloyd <[email protected]> | 2010-03-04 03:03:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-04 03:03:52 +0000 |
commit | da09382f398dcf27a3ffdb82dd9f916ba96567ac (patch) | |
tree | b7da172de584678ec86988b8de40676460275b2d /checks/ecdh.cpp | |
parent | 5ada70d51341b4b11d7220747475d5506e7110b3 (diff) |
Remove odd DH use in ECDH test
Diffstat (limited to 'checks/ecdh.cpp')
-rw-r--r-- | checks/ecdh.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/checks/ecdh.cpp b/checks/ecdh.cpp index 9f98fa56e..9341f8432 100644 --- a/checks/ecdh.cpp +++ b/checks/ecdh.cpp @@ -18,7 +18,6 @@ #include <fstream> #include <botan/symkey.h> -#include <botan/dh.h> #include <botan/ecdh.h> #include <botan/x509self.h> #include <botan/der_enc.h> @@ -180,9 +179,6 @@ void test_ecdh_cp_ctor_as_op(RandomNumberGenerator& rng) Botan::ECDH_PrivateKey private_a3; private_a3 = private_a2; - Botan::DH_PrivateKey dh_pr_empty; - Botan::DH_PublicKey dh_pub_empty; - Botan::ECDH_PublicKey public_a = private_a; // Bob gets this Botan::ECDH_PublicKey public_a2(public_a); Botan::ECDH_PublicKey public_a3; |