From b36db2d74992f2ea80329378c32a6321d6a60b26 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 10 Jun 2008 19:10:34 +0000 Subject: Change PK_Signer::signature to take a RandomNumberGenerator reference instead of always using the global PRNG. --- src/pk_filts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pk_filts.cpp') diff --git a/src/pk_filts.cpp b/src/pk_filts.cpp index 6da6dabfd..85ba6638a 100644 --- a/src/pk_filts.cpp +++ b/src/pk_filts.cpp @@ -56,7 +56,7 @@ void PK_Signer_Filter::write(const byte input[], u32bit length) *************************************************/ void PK_Signer_Filter::end_msg() { - send(signer->signature()); + send(signer->signature(global_state().prng_reference())); } /************************************************* -- cgit v1.2.3