aboutsummaryrefslogtreecommitdiffstats
path: root/include/nr.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-20 10:38:08 +0000
committerlloyd <[email protected]>2008-06-20 10:38:08 +0000
commit4331395edf8e68b46e61fc00ddb5518fef8b36b5 (patch)
tree9307d278abe6065720359df390faef327a9a3d4f /include/nr.h
parent3b28d92a8a90f27f3da55db7afb47ea23e02cfc4 (diff)
Pass a RandomNumberGenerator& to the PK_Core constructors and the various
public key object loading hooks.
Diffstat (limited to 'include/nr.h')
-rw-r--r--include/nr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nr.h b/include/nr.h
index c8eaaf32e..51b9a95d1 100644
--- a/include/nr.h
+++ b/include/nr.h
@@ -32,7 +32,7 @@ class BOTAN_DLL NR_PublicKey : public PK_Verifying_with_MR_Key,
protected:
NR_Core core;
private:
- void X509_load_hook();
+ void X509_load_hook(RandomNumberGenerator&);
};
/*************************************************
@@ -52,7 +52,7 @@ class BOTAN_DLL NR_PrivateKey : public NR_PublicKey,
NR_PrivateKey(const DL_Group&, RandomNumberGenerator& rng);
NR_PrivateKey(const DL_Group&, const BigInt&, const BigInt& = 0);
private:
- void PKCS8_load_hook(bool = false);
+ void PKCS8_load_hook(RandomNumberGenerator&, bool = false);
};
}