aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk_filts.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-10 19:10:34 +0000
committerlloyd <[email protected]>2008-06-10 19:10:34 +0000
commitb36db2d74992f2ea80329378c32a6321d6a60b26 (patch)
tree426add866dd75f8b3e73e0bde0ae5d936c305662 /src/pk_filts.cpp
parent54fecdc60438d15f970055bb691e18c6469e1785 (diff)
Change PK_Signer::signature to take a RandomNumberGenerator reference
instead of always using the global PRNG.
Diffstat (limited to 'src/pk_filts.cpp')
-rw-r--r--src/pk_filts.cpp2
1 files changed, 1 insertions, 1 deletions
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()));
}
/*************************************************