summaryrefslogtreecommitdiff
path: root/filters.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-04-22 00:12:41 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-04-22 00:12:41 +0000
commit2929d031b1a1ddf2dddde635d0ff7d497fa9f564 (patch)
tree8733a63fcf68138da6499dd586934f7a8c472316 /filters.h
parentff83e8b4651dbde245f089a0d5dc3e97e490bdf9 (diff)
downloadcryptopp-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters.h b/filters.h
index c5d8641..8566657 100644
--- a/filters.h
+++ b/filters.h
@@ -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 &parameters);
unsigned int Put2(const byte *begin, unsigned int length, int messageEnd, bool blocking);