From 4e4793cc591e26c788b53c487bee7cab2d377f5e Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 13 Feb 2009 12:18:26 +0000 Subject: 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 --- rsa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rsa.cpp') diff --git a/rsa.cpp b/rsa.cpp index c52673b..8fab061 100644 --- a/rsa.cpp +++ b/rsa.cpp @@ -115,7 +115,7 @@ void InvertibleRSAFunction::GenerateRandom(RandomNumberGenerator &rng, const Nam throw InvalidArgument("InvertibleRSAFunction: invalid public exponent"); RSAPrimeSelector selector(m_e); - const NameValuePairs &primeParam = MakeParametersForTwoPrimesOfEqualSize(modulusSize) + AlgorithmParameters primeParam = MakeParametersForTwoPrimesOfEqualSize(modulusSize) (Name::PointerToPrimeSelector(), selector.GetSelectorPointer()); m_p.GenerateRandom(rng, primeParam); m_q.GenerateRandom(rng, primeParam); -- cgit v1.2.1