diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-04-22 00:12:41 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-04-22 00:12:41 +0000 |
commit | 2929d031b1a1ddf2dddde635d0ff7d497fa9f564 (patch) | |
tree | 8733a63fcf68138da6499dd586934f7a8c472316 /filters.h | |
parent | ff83e8b4651dbde245f089a0d5dc3e97e490bdf9 (diff) | |
download | cryptopp-2929d031b1a1ddf2dddde635d0ff7d497fa9f564.tar.gz |
remove default NullRNG() for signing
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@61 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'filters.h')
-rw-r--r-- | filters.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -317,7 +317,7 @@ class SignerFilter : public Unflushable<Filter> { public: SignerFilter(RandomNumberGenerator &rng, const PK_Signer &signer, BufferedTransformation *attachment = NULL, bool putMessage=false) - : Unflushable<Filter>(attachment), m_rng(rng), m_signer(signer), m_messageAccumulator(signer.NewSignatureAccumulator()), m_putMessage(putMessage) {} + : Unflushable<Filter>(attachment), m_rng(rng), m_signer(signer), m_messageAccumulator(signer.NewSignatureAccumulator(rng)), m_putMessage(putMessage) {} void IsolatedInitialize(const NameValuePairs ¶meters); unsigned int Put2(const byte *begin, unsigned int length, int messageEnd, bool blocking); |