aboutsummaryrefslogtreecommitdiffstats
path: root/include/dl_algo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dl_algo.h')
-rw-r--r--include/dl_algo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dl_algo.h b/include/dl_algo.h
index f0bdf9049..f74deb34f 100644
--- a/include/dl_algo.h
+++ b/include/dl_algo.h
@@ -29,7 +29,7 @@ class BOTAN_DLL DL_Scheme_PublicKey : public virtual Public_Key
virtual DL_Group::Format group_format() const = 0;
X509_Encoder* x509_encoder() const;
- X509_Decoder* x509_decoder();
+ X509_Decoder* x509_decoder(RandomNumberGenerator&);
protected:
BigInt y;
DL_Group group;
@@ -49,7 +49,7 @@ class BOTAN_DLL DL_Scheme_PrivateKey : public virtual DL_Scheme_PublicKey,
const BigInt& get_x() const { return x; }
PKCS8_Encoder* pkcs8_encoder() const;
- PKCS8_Decoder* pkcs8_decoder();
+ PKCS8_Decoder* pkcs8_decoder(RandomNumberGenerator&);
protected:
BigInt x;
private: