Bug fix for 64 bit HP-UX.
Submitted by: Karsten Spang <ks@bellesystems.com>
This commit is contained in:
parent
a9ef75c50d
commit
db82b8f9bd
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ RSA *RSA_generate_key(int bits, unsigned long e_value,
|
||||||
* unsigned long can be larger */
|
* unsigned long can be larger */
|
||||||
for (i=0; i<sizeof(unsigned long)*8; i++)
|
for (i=0; i<sizeof(unsigned long)*8; i++)
|
||||||
{
|
{
|
||||||
if (e_value & (1<<i))
|
if (e_value & (1UL<<i))
|
||||||
BN_set_bit(rsa->e,i);
|
BN_set_bit(rsa->e,i);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue