summaryrefslogtreecommitdiff
path: root/beecrypt/mtprng.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-04-30 00:11:40 +0000
committerjbj <devnull@localhost>2003-04-30 00:11:40 +0000
commitac36dd47499046706dc9c464bc1df398fe6a578b (patch)
tree2b6da6975eb0197016b3d134a2952b5409d0bce1 /beecrypt/mtprng.c
parentd38e3db906459b7a2d9d2d8275d7d4fa8ae0a9e9 (diff)
downloadlibrpm-tizen-ac36dd47499046706dc9c464bc1df398fe6a578b.tar.gz
librpm-tizen-ac36dd47499046706dc9c464bc1df398fe6a578b.tar.bz2
librpm-tizen-ac36dd47499046706dc9c464bc1df398fe6a578b.zip
beecrypt-3.0.0 merge: entropy_noise_gather converts bits-tp-bytes, not words.
CVS patchset: 6791 CVS date: 2003/04/30 00:11:40
Diffstat (limited to 'beecrypt/mtprng.c')
-rw-r--r--beecrypt/mtprng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beecrypt/mtprng.c b/beecrypt/mtprng.c
index aa3ef18ab..b01d4ace0 100644
--- a/beecrypt/mtprng.c
+++ b/beecrypt/mtprng.c
@@ -96,7 +96,7 @@ int mtprngSetup(mtprngParam* mp)
mp->left = 0;
- return entropyGatherNext(mp->state, N+1);
+ return entropyGatherNext((byte*)mp->state, N+1);
}
return -1;
}