diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pubkey/dh/dh.cpp | 8 | ||||
-rw-r--r-- | src/pubkey/dh/dh.h | 5 |
2 files changed, 1 insertions, 12 deletions
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<byte>& 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(); }; /** |