summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/lib/a_md512crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/lib/a_md512crypt.c')
-rw-r--r--usr.sbin/xntpd/lib/a_md512crypt.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/xntpd/lib/a_md512crypt.c b/usr.sbin/xntpd/lib/a_md512crypt.c
index 6033ded..e3705c0 100644
--- a/usr.sbin/xntpd/lib/a_md512crypt.c
+++ b/usr.sbin/xntpd/lib/a_md512crypt.c
@@ -1,4 +1,4 @@
-/* authmd512crypt.c,v 3.1 1993/07/06 01:07:52 jbj Exp
+/*
* md5crypt - MD5 based authentication routines
*/
@@ -7,7 +7,7 @@
#include "md5.h"
#include "ntp_stdlib.h"
-extern U_LONG cache_keyid;
+extern u_long cache_keyid;
extern char *cache_key;
extern int cache_keylen;
@@ -17,7 +17,6 @@ extern int cache_keylen;
extern U_LONG authencryptions;
extern U_LONG authdecryptions;
extern U_LONG authkeyuncached;
-extern U_LONG authdecryptok;
extern U_LONG authnokey;
/*
@@ -41,7 +40,7 @@ static MD5_CTX ctx;
void
MD5auth1crypt(keyno, pkt, length)
- U_LONG keyno;
+ u_long keyno;
U_LONG *pkt;
int length; /* length of all encrypted data */
{
@@ -67,7 +66,7 @@ MD5auth1crypt(keyno, pkt, length)
*/
int
MD5auth2crypt(keyno, pkt, length)
- U_LONG keyno;
+ u_long keyno;
U_LONG *pkt;
int length; /* total length of encrypted area */
{
OpenPOWER on IntegriCloud