aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <lloyd@randombit.net>2010-03-04 18:36:29 +0000
committerlloyd <lloyd@randombit.net>2010-03-04 18:36:29 +0000
commitd559ec22d2d020d6ada787c7802a2b9882b48602 (patch)
treeff17e7429b033ae421932691d2607c1f14918546 /src
parentddd6e2b4aef2558cdc9228b7ecd2348168f16c5a (diff)
Remove no-op DH_Public_Key::X509_load_hook
Diffstat (limited to 'src')
-rw-r--r--src/pubkey/dh/dh.cpp8
-rw-r--r--src/pubkey/dh/dh.h5
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();
};
/**