tlibsec: fix dsagen 64-bit bug - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit c38ef9e7b60d5a3cab522dc1fe3c7b97e77646ea
(DIR) parent c5d1b221709e5a51abe96b19d85ac5c16cc0d562
(HTM) Author: Russ Cox <rsc@swtch.com>
Date: Wed, 5 Oct 2011 16:23:01 -0400
libsec: fix dsagen 64-bit bug
Diffstat:
M src/libsec/port/dsaprimes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/libsec/port/dsaprimes.c b/src/libsec/port/dsaprimes.c
t@@ -12,7 +12,7 @@
static void
Hrand(uchar *s)
{
- ulong *u = (ulong*)s;
+ uint32 *u = (uint32*)s;
*u++ = fastrand();
*u++ = fastrand();
*u++ = fastrand();