diff options
author | Ulf Möller <ulf@openssl.org> | 2000-06-01 14:24:59 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-06-01 14:24:59 +0000 |
commit | db82b8f9bd432a59aea8e1014694e15fc457c2bb (patch) | |
tree | 845d709cc76734f3b5a563c8067179bfa90df1db /crypto/rsa/rsa_gen.c | |
parent | a9ef75c50d35afc115d443ddc7dd35956fc5a2ef (diff) | |
download | openssl-db82b8f9bd432a59aea8e1014694e15fc457c2bb.tar.gz |
Bug fix for 64 bit HP-UX.
Submitted by: Karsten Spang <ks@bellesystems.com>
Diffstat (limited to 'crypto/rsa/rsa_gen.c')
-rw-r--r-- | crypto/rsa/rsa_gen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_gen.c b/crypto/rsa/rsa_gen.c index 95e636d3f0..00c25adbc5 100644 --- a/crypto/rsa/rsa_gen.c +++ b/crypto/rsa/rsa_gen.c @@ -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 |