From f7b055f024141730443759d6511e18c4ba463212 Mon Sep 17 00:00:00 2001 From: jbj Date: Tue, 29 Apr 2003 11:32:25 +0000 Subject: [PATCH] Typo. CVS patchset: 6789 CVS date: 2003/04/29 11:32:25 --- beecrypt/mpprime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beecrypt/mpprime.c b/beecrypt/mpprime.c index c750573..a0f49a2 100644 --- a/beecrypt/mpprime.c +++ b/beecrypt/mpprime.c @@ -906,7 +906,7 @@ static void mpprndbits(mpbarrett* p, size_t msbclr, size_t lsbset, randomGenerat if (p == (mpbarrett*) 0 || p->modl == (mpw*) 0) return; - (void) rc->rng->next(rc->param, p->modl, size); + (void) rc->rng->next(rc->param, (byte*) p->modl, MP_WORDS_TO_BYTES(size)); if (msbclr != 0) p->modl[0] &= (MP_ALLMASK >> msbclr); -- 2.7.4