projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update obsolete email address...
[openssl.git]
/
crypto
/
rsa
/
rsa_depr.c
diff --git
a/crypto/rsa/rsa_depr.c
b/crypto/rsa/rsa_depr.c
index c5582b996d24cdf66426aaf9127c0dd3540c6039..a859ded987a28761a6f5f455ee0b2e8df87633e6 100644
(file)
--- a/
crypto/rsa/rsa_depr.c
+++ b/
crypto/rsa/rsa_depr.c
@@
-83,7
+83,8
@@
RSA *RSA_generate_key(int bits, unsigned long e_value,
for (i=0; i<(int)sizeof(unsigned long)*8; i++)
{
if (e_value & (1UL<<i))
- BN_set_bit(e,i);
+ if (BN_set_bit(e,i) == 0)
+ goto err;
}
BN_GENCB_set_old(&cb, callback, cb_arg);