diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1996-11-19 20:42:43 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1996-11-19 20:42:43 +0000 |
commit | 52ad60210fad9bcb7ec1cbcf162aace1232cadaa (patch) | |
tree | f1f14ad5f16bf46af2a45b6ee7cea62b68242de0 /sbin/routed/rtquery/rtquery.c | |
parent | 33997320295ddad9d76d1d106eee4ca4572669b2 (diff) |
Merge from vendor branch and use system MD5 library.
Notes
Notes:
svn path=/head/; revision=19885
Diffstat (limited to 'sbin/routed/rtquery/rtquery.c')
-rw-r--r-- | sbin/routed/rtquery/rtquery.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sbin/routed/rtquery/rtquery.c b/sbin/routed/rtquery/rtquery.c index 0579141b667b..42d4d6ee2099 100644 --- a/sbin/routed/rtquery/rtquery.c +++ b/sbin/routed/rtquery/rtquery.c @@ -40,7 +40,7 @@ static char sccsid[] = "@(#)query.c 8.1 (Berkeley) 6/5/93"; #elif defined(__NetBSD__) static char rcsid[] = "$NetBSD$"; #endif -#ident "$Revision: 1.9 $" +#ident "$Revision: 1.1.1.2 $" #include <sys/param.h> #include <sys/protosw.h> @@ -65,17 +65,7 @@ static char rcsid[] = "$NetBSD$"; #define _HAVE_SIN_LEN #endif -#define MD5_DIGEST_LEN 16 -typedef struct { - u_int32_t state[4]; /* state (ABCD) */ - u_int32_t count[2]; /* # of bits, modulo 2^64 (LSB 1st) */ - unsigned char buffer[64]; /* input buffer */ -} MD5_CTX; -extern void MD5Init(MD5_CTX*); -extern void MD5Update(MD5_CTX*, u_char*, u_int); -extern void MD5Final(u_char[MD5_DIGEST_LEN], MD5_CTX*); - - +#include <md5.h> #define WTIME 15 /* Time to wait for all responses */ #define STIME (250*1000) /* usec to wait for another response */ |