summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mont.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2008-05-01 18:48:20 +0000
committerBodo Möller <bodo@openssl.org>2008-05-01 18:48:20 +0000
commitd05a474556c627a8e87b32d7e97aa776308dc883 (patch)
tree78cba08766c85fffc1373ad7cf55af01ad8210d1 /crypto/bn/bn_mont.c
parent8a2062fefedde7957f228e274d12155ca8660d4c (diff)
Montgomery-related minor cleanups/documentation
Diffstat (limited to 'crypto/bn/bn_mont.c')
-rw-r--r--crypto/bn/bn_mont.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bn/bn_mont.c b/crypto/bn/bn_mont.c
index ecbee2aacd..e3146240b5 100644
--- a/crypto/bn/bn_mont.c
+++ b/crypto/bn/bn_mont.c
@@ -394,6 +394,7 @@ void BN_MONT_CTX_init(BN_MONT_CTX *ctx)
BN_init(&(ctx->RR));
BN_init(&(ctx->N));
BN_init(&(ctx->Ni));
+ ctx->n0[0] = ctx->n0[1] = 0;
ctx->flags=0;
}