~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to rabin.cpp

  • Committer: weidai
  • Date: 2009-03-13 11:15:21 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:450
fix compile on OpenSolaris 8.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
        bool rFound=false, sFound=false;
85
85
        Integer t=2;
86
86
 
87
 
        const NameValuePairs &primeParam = MakeParametersForTwoPrimesOfEqualSize(modulusSize)
 
87
        AlgorithmParameters primeParam = MakeParametersForTwoPrimesOfEqualSize(modulusSize)
88
88
                ("EquivalentTo", 3)("Mod", 4);
89
89
        m_p.GenerateRandom(rng, primeParam);
90
90
        m_q.GenerateRandom(rng, primeParam);