aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-05-28 21:18:07 +1200
committerDavid Phillips <david@sighup.nz>2017-05-28 21:18:07 +1200
commitd96698e4a16b24cf9c87b8e4d8c0d15f92e497fb (patch)
tree47006f3d97041dca38e59edf037f49db73708cdc
parentcd1702d70f5e5a38cfb215d0952dbfb45eb7b2a1 (diff)
downloadsand-leek-d96698e4a16b24cf9c87b8e4d8c0d15f92e497fb.tar.xz
Roll back two accidental changes in last commit
-rw-r--r--key_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/key_update.c b/key_update.c
index c9b90cc..87acafb 100644
--- a/key_update.c
+++ b/key_update.c
@@ -42,8 +42,8 @@ key_update_d(RSA *rsa_key) {
BN_mod_inverse(true_d, e, lambda_n, bn_ctx);
BN_mod_inverse(true_iqmp, q, p, bn_ctx);
- BN_mod(rsa_key->dmp, true_d, p1, bn_ctx);
- BN_mod(rsa_key->dmq, true_d, q1, bn_ctx);
+ BN_mod(true_dmp1, true_d, p1, bn_ctx);
+ BN_mod(true_dmq1, true_d, q1, bn_ctx);
/* cleanup BN structs not managed by RSA internal functions */
BN_clear_free(gcd);