git.samba.org
/
abartlet
/
lorikeet-heimdal.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76266ab
)
don't allocate n twice, indent
author
Love Hornquist Astrand
<lha@h5l.org>
Wed, 29 Sep 2010 05:08:00 +0000
(22:08 -0700)
committer
Love Hornquist Astrand
<lha@h5l.org>
Wed, 29 Sep 2010 05:08:00 +0000
(22:08 -0700)
lib/hcrypto/rsa-ltm.c
patch
|
blob
|
history
diff --git
a/lib/hcrypto/rsa-ltm.c
b/lib/hcrypto/rsa-ltm.c
index ad3686e403ce00e530b6d6b2634d9ff5bdd99ccb..03997b55ef4b297cff9bda0f33fd7cd7c2ce78d2 100644
(file)
--- a/
lib/hcrypto/rsa-ltm.c
+++ b/
lib/hcrypto/rsa-ltm.c
@@
-518,7
+518,9
@@
ltm_rsa_generate_key(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb)
ret = -1;
- mp_init_multi(&el, &p, &q, &n, &n, &d, &dmp1, &dmq1, &iqmp, &t1, &t2, &t3, NULL);
+ mp_init_multi(&el, &p, &q, &n, &d,
+ &dmp1, &dmq1, &iqmp,
+ &t1, &t2, &t3, NULL);
BN2mpz(&el, e);
@@
-588,8
+590,9
@@
ltm_rsa_generate_key(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb)
ret = 1;
out:
- mp_clear_multi(&el, &p, &q, &n, &d, &dmp1,
- &dmq1, &iqmp, &t1, &t2, &t3, NULL);
+ mp_clear_multi(&el, &p, &q, &n, &d,
+ &dmp1, &dmq1, &iqmp,
+ &t1, &t2, &t3, NULL);
return ret;
}