From d559ec22d2d020d6ada787c7802a2b9882b48602 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 4 Mar 2010 18:36:29 +0000 Subject: Remove no-op DH_Public_Key::X509_load_hook --- src/pubkey/dh/dh.cpp | 8 -------- src/pubkey/dh/dh.h | 5 +---- 2 files changed, 1 insertion(+), 12 deletions(-) (limited to 'src') diff --git a/src/pubkey/dh/dh.cpp b/src/pubkey/dh/dh.cpp index 31510bced..4ebe1fa1c 100644 --- a/src/pubkey/dh/dh.cpp +++ b/src/pubkey/dh/dh.cpp @@ -18,14 +18,6 @@ DH_PublicKey::DH_PublicKey(const DL_Group& grp, const BigInt& y1) { group = grp; y = y1; - X509_load_hook(); - } - -/* -* Algorithm Specific X.509 Initialization Code -*/ -void DH_PublicKey::X509_load_hook() - { } /* diff --git a/src/pubkey/dh/dh.h b/src/pubkey/dh/dh.h index 2a7f21fbb..14bc916a7 100644 --- a/src/pubkey/dh/dh.h +++ b/src/pubkey/dh/dh.h @@ -28,8 +28,7 @@ class BOTAN_DLL DH_PublicKey : public virtual DL_Scheme_PublicKey DH_PublicKey(const AlgorithmIdentifier& alg_id, const MemoryRegion& key_bits) : - DL_Scheme_PublicKey(alg_id, key_bits, DL_Group::ANSI_X9_42) - { X509_load_hook(); } + DL_Scheme_PublicKey(alg_id, key_bits, DL_Group::ANSI_X9_42) {} /** * Construct a public key with the specified parameters. @@ -39,8 +38,6 @@ class BOTAN_DLL DH_PublicKey : public virtual DL_Scheme_PublicKey DH_PublicKey(const DL_Group& grp, const BigInt& y); protected: DH_PublicKey() {} - private: - void X509_load_hook(); }; /** -- cgit v1.2.3