summaryrefslogtreecommitdiff
path: root/luc.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 /luc.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 'luc.cpp')
-rw-r--r--luc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/luc.cpp b/luc.cpp
index 85bd4623..43cd2ed2 100644
--- a/luc.cpp
+++ b/luc.cpp
@@ -118,7 +118,7 @@ void InvertibleLUCFunction::GenerateRandom(RandomNumberGenerator &rng, const Nam
throw InvalidArgument("InvertibleLUCFunction: invalid public exponent");
LUCPrimeSelector selector(m_e);
- const NameValuePairs &primeParam = MakeParametersForTwoPrimesOfEqualSize(modulusSize)
+ AlgorithmParameters primeParam = MakeParametersForTwoPrimesOfEqualSize(modulusSize)
("PointerToPrimeSelector", selector.GetSelectorPointer());
m_p.GenerateRandom(rng, primeParam);
m_q.GenerateRandom(rng, primeParam);