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