[Sumover-dev] [svn commit] r4050 - common/trunk/src
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Mon Jun 4 10:24:22 BST 2007
Author: piers
Date: Mon Jun 4 10:24:21 2007
New Revision: 4050
Modified:
common/trunk/src/qfDES.c
Log:
Applied simple patch as suggested by Doug Kosovic:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/uclmmbase/files/patch-word
Use uint32_t instead of `unsigned long', where a 32-bit unsigned value
is needed -- this fixes the qfDES encryption/decryption on 64-bit
platforms.
Modified: common/trunk/src/qfDES.c
==============================================================================
--- common/trunk/src/qfDES.c (original)
+++ common/trunk/src/qfDES.c Mon Jun 4 10:24:21 2007
@@ -12,7 +12,7 @@
#include "qfDES.h"
#include "crypt_random.h"
-typedef unsigned long Word;
+typedef uint32_t Word;
#define B00 0x80000000
#define B01 0x40000000
More information about the Sumover-dev
mailing list