diff options
Diffstat (limited to 'sys/crypto/set_key.c')
-rw-r--r-- | sys/crypto/set_key.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/crypto/set_key.c b/sys/crypto/set_key.c index 4ecdf8adf6f..31b9be0f648 100644 --- a/sys/crypto/set_key.c +++ b/sys/crypto/set_key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: set_key.c,v 1.1 2000/02/28 23:13:05 deraadt Exp $ */ +/* $OpenBSD: set_key.c,v 1.2 2002/10/27 13:24:26 miod Exp $ */ /* lib/des/set_key.c */ /* Copyright (C) 1995 Eric Young (eay@mincom.oz.au) @@ -152,9 +152,9 @@ int des_set_key(key, schedule) des_cblock (*key); des_key_schedule schedule; { - register unsigned long c,d,t,s; + register u_int32_t c,d,t,s; register unsigned char *in; - register unsigned long *k; + register u_int32_t *k; register int i; if (des_check_key) @@ -166,7 +166,7 @@ des_key_schedule schedule; return(-2); } - k=(unsigned long *)schedule; + k=(u_int32_t *)schedule; in=(unsigned char *)key; c2l(in,c); |