提交 db82b8f9 编写于 作者: U Ulf Möller

Bug fix for 64 bit HP-UX.

Submitted by: Karsten Spang <ks@bellesystems.com>
上级 a9ef75c5
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册