summaryrefslogtreecommitdiff
path: root/esign.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2009-02-13 12:18:26 +0000
committerweidai <weidai11@users.noreply.github.com>2009-02-13 12:18:26 +0000
commitfa25129ac981ceed9569496c02b83771b394fa40 (patch)
treead72361b06ff671420b32b70bab9081ad2d7be32 /esign.cpp
parenteb5732337be02e36c8f5293a2d22d8f74130e684 (diff)
downloadcryptopp-git-fa25129ac981ceed9569496c02b83771b394fa40.tar.gz
port to Sun Studio 12's 64-bit C++ Compiler 5.9 Patch 124864-09 2008/12/16
Diffstat (limited to 'esign.cpp')
-rw-r--r--esign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/esign.cpp b/esign.cpp
index eb9ca468..8b42c1fa 100644
--- a/esign.cpp
+++ b/esign.cpp
@@ -94,7 +94,7 @@ void InvertibleESIGNFunction::GenerateRandom(RandomNumberGenerator &rng, const N
const Integer minP = Integer(204) << (modulusSize/3-8);
const Integer maxP = Integer::Power2(modulusSize/3)-1;
- const NameValuePairs &primeParam = MakeParameters("Min", minP)("Max", maxP)("RandomNumberType", Integer::PRIME);
+ AlgorithmParameters primeParam = MakeParameters("Min", minP)("Max", maxP)("RandomNumberType", Integer::PRIME);
if (param.GetValue("Seed", seedParam))
{