Bug fix for 64 bit HP-UX.

Submitted by: Karsten Spang <ks@bellesystems.com>
This commit is contained in:
Ulf Möller 2000-06-01 14:24:59 +00:00
parent a9ef75c50d
commit db82b8f9bd

View file

@ -95,7 +95,7 @@ RSA *RSA_generate_key(int bits, unsigned long e_value,
* unsigned long can be larger */
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);
}
#else