summaryrefslogtreecommitdiff
path: root/rabin.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-02-13 12:18:26 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-02-13 12:18:26 +0000
commit4e4793cc591e26c788b53c487bee7cab2d377f5e (patch)
treead72361b06ff671420b32b70bab9081ad2d7be32 /rabin.cpp
parent21e37311f74460550001f25240be0ebd83e11ea9 (diff)
downloadcryptopp-4e4793cc591e26c788b53c487bee7cab2d377f5e.tar.gz
port to Sun Studio 12's 64-bit C++ Compiler 5.9 Patch 124864-09 2008/12/16
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@432 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rabin.cpp')
-rw-r--r--rabin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rabin.cpp b/rabin.cpp
index 2204ab5..d496333 100644
--- a/rabin.cpp
+++ b/rabin.cpp
@@ -84,7 +84,7 @@ void InvertibleRabinFunction::GenerateRandom(RandomNumberGenerator &rng, const N
bool rFound=false, sFound=false;
Integer t=2;
- const NameValuePairs &primeParam = MakeParametersForTwoPrimesOfEqualSize(modulusSize)
+ AlgorithmParameters primeParam = MakeParametersForTwoPrimesOfEqualSize(modulusSize)
("EquivalentTo", 3)("Mod", 4);
m_p.GenerateRandom(rng, primeParam);
m_q.GenerateRandom(rng, primeParam);