mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Bug fix for 64 bit HP-UX.
Submitted by: Karsten Spang <ks@bellesystems.com>
This commit is contained in:
parent
a9ef75c50d
commit
db82b8f9bd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user