summaryrefslogtreecommitdiff
path: root/rabin.cpp
diff options
context:
space:
mode:
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);