summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/des/rnd_keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/lib/des/rnd_keys.c')
-rw-r--r--source4/heimdal/lib/des/rnd_keys.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/heimdal/lib/des/rnd_keys.c b/source4/heimdal/lib/des/rnd_keys.c
index e27b00defa..e58faefcb0 100644
--- a/source4/heimdal/lib/des/rnd_keys.c
+++ b/source4/heimdal/lib/des/rnd_keys.c
@@ -34,7 +34,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
-RCSID("$Id: rnd_keys.c,v 1.70 2006/01/08 21:47:29 lha Exp $");
+RCSID("$Id: rnd_keys.c,v 1.71 2006/05/05 10:24:31 lha Exp $");
#endif
#ifdef KRB5
@@ -82,8 +82,8 @@ static
int
sumFile (const char *name, int len, void *res)
{
- u_int32_t sum[2] = { 0, 0 };
- u_int32_t buf[1024*2];
+ uint32_t sum[2] = { 0, 0 };
+ uint32_t buf[1024*2];
int fd, i;
fd = open (name, 0);
@@ -148,7 +148,7 @@ md5sumFile (const char *name, int len, int32_t sum[4])
* based on an initial des key used as a seed.
*/
static DES_key_schedule sequence_seed;
-static u_int32_t sequence_index[2];
+static uint32_t sequence_index[2];
/*
* Random number generator based on ideas from truerand in cryptolib