mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-23 21:53:49 +01:00
fixed bug 2221757: RSA exp component not used
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user