[Midnightbsd-cvs] src [10731] trunk/usr.sbin/keyserv/keyserv.c: sync
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Jun 9 18:00:26 EDT 2018
Revision: 10731
http://svnweb.midnightbsd.org/src/?rev=10731
Author: laffer1
Date: 2018-06-09 18:00:25 -0400 (Sat, 09 Jun 2018)
Log Message:
-----------
sync
Modified Paths:
--------------
trunk/usr.sbin/keyserv/keyserv.c
Modified: trunk/usr.sbin/keyserv/keyserv.c
===================================================================
--- trunk/usr.sbin/keyserv/keyserv.c 2018-06-09 21:59:46 UTC (rev 10730)
+++ trunk/usr.sbin/keyserv/keyserv.c 2018-06-09 22:00:25 UTC (rev 10731)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -32,7 +33,7 @@
static char sccsid[] = "@(#)keyserv.c 1.15 94/04/25 SMI";
#endif
static const char rcsid[] =
- "$MidnightBSD$";
+ "$FreeBSD: stable/10/usr.sbin/keyserv/keyserv.c 239991 2012-09-01 14:45:15Z ed $";
#endif /* not lint */
/*
@@ -232,7 +233,7 @@
seed = 0;
for (i = 0; i < 1024; i++) {
- (void) gettimeofday(&tv, (struct timezone *) NULL);
+ (void)gettimeofday(&tv, NULL);
shift = i % 8 * sizeof (int);
seed ^= (tv.tv_usec << shift) | (tv.tv_usec >> (32 - shift));
}
@@ -575,7 +576,7 @@
static des_block keygen;
static des_block key;
- (void) gettimeofday(&time, (struct timezone *) NULL);
+ (void)gettimeofday(&time, NULL);
keygen.key.high += (time.tv_sec ^ time.tv_usec);
keygen.key.low += (time.tv_sec ^ time.tv_usec);
ecb_crypt((char *)&masterkey, (char *)&keygen, sizeof (keygen),
More information about the Midnightbsd-cvs
mailing list