fixed bug 2221757: RSA exp component not used

This commit is contained in:
Peter Schojer 2008-11-05 06:53:50 +00:00
parent ba13c39636
commit 956f221664

View File

@ -53,7 +53,7 @@ RSAKey::RSAKey(KeyLength keyLength, Exponent exp):
{
int keyLen = keyLength;
unsigned long expVal = RSA_3;
if (expVal == EXP_LARGE)
if (exp == EXP_LARGE)
expVal = RSA_F4;
_pImpl = new RSAKeyImpl(keyLen, expVal);
}