aboutsummaryrefslogtreecommitdiffstats
path: root/include/dsa.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/dsa.h
parent3b28d92a8a90f27f3da55db7afb47ea23e02cfc4 (diff)
Pass a RandomNumberGenerator& to the PK_Core constructors and the various
public key object loading hooks.
Diffstat (limited to 'include/dsa.h')
-rw-r--r--include/dsa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dsa.h b/include/dsa.h
index 67de8d137..eb14dbef9 100644
--- a/include/dsa.h
+++ b/include/dsa.h
@@ -32,7 +32,7 @@ class BOTAN_DLL DSA_PublicKey : public PK_Verifying_wo_MR_Key,
protected:
DSA_Core core;
private:
- void X509_load_hook();
+ void X509_load_hook(RandomNumberGenerator&);
};
/*************************************************
@@ -52,7 +52,7 @@ class BOTAN_DLL DSA_PrivateKey : public DSA_PublicKey,
DSA_PrivateKey(const DL_Group&, RandomNumberGenerator& rng);
DSA_PrivateKey(const DL_Group&, const BigInt&, const BigInt& = 0);
private:
- void PKCS8_load_hook(bool = false);
+ void PKCS8_load_hook(RandomNumberGenerator& rng, bool = false);
};
}