aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/rw/rw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/rw/rw.h')
-rw-r--r--src/pubkey/rw/rw.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pubkey/rw/rw.h b/src/pubkey/rw/rw.h
index d2411d630..efdca04e7 100644
--- a/src/pubkey/rw/rw.h
+++ b/src/pubkey/rw/rw.h
@@ -57,10 +57,7 @@ class BOTAN_DLL RW_PrivateKey : public RW_PublicKey,
RW_PrivateKey(const AlgorithmIdentifier& alg_id,
const MemoryRegion<byte>& key_bits,
RandomNumberGenerator& rng) :
- IF_Scheme_PrivateKey(alg_id, key_bits)
- {
- PKCS8_load_hook(rng);
- }
+ IF_Scheme_PrivateKey(rng, alg_id, key_bits) {}
RW_PrivateKey(RandomNumberGenerator& rng,
const BigInt& p, const BigInt& q,