diff options
Diffstat (limited to 'src/dh.cpp')
-rw-r--r-- | src/dh.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dh.cpp b/src/dh.cpp index 159eb0629..8d2059936 100644 --- a/src/dh.cpp +++ b/src/dh.cpp @@ -5,7 +5,6 @@ #include <botan/dh.h> #include <botan/numthry.h> -#include <botan/libstate.h> #include <botan/util.h> namespace Botan { @@ -17,15 +16,14 @@ DH_PublicKey::DH_PublicKey(const DL_Group& grp, const BigInt& y1) { group = grp; y = y1; - X509_load_hook(global_state().prng_reference()); + X509_load_hook(); } /************************************************* * Algorithm Specific X.509 Initialization Code * *************************************************/ -void DH_PublicKey::X509_load_hook(RandomNumberGenerator& rng) +void DH_PublicKey::X509_load_hook() { - load_check(rng); } /************************************************* |