summaryrefslogtreecommitdiffstats
path: root/sbin/routed/rtquery/rtquery.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-11-19 20:42:43 +0000
committerwollman <wollman@FreeBSD.org>1996-11-19 20:42:43 +0000
commitb91551e88365a1a4ef273e599fe34d6f77871fa0 (patch)
treef1f14ad5f16bf46af2a45b6ee7cea62b68242de0 /sbin/routed/rtquery/rtquery.c
parentfce827276a44ea79290a5de5c4d5a5ea905d83d6 (diff)
downloadFreeBSD-src-b91551e88365a1a4ef273e599fe34d6f77871fa0.zip
FreeBSD-src-b91551e88365a1a4ef273e599fe34d6f77871fa0.tar.gz
Merge from vendor branch and use system MD5 library.
Diffstat (limited to 'sbin/routed/rtquery/rtquery.c')
-rw-r--r--sbin/routed/rtquery/rtquery.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/sbin/routed/rtquery/rtquery.c b/sbin/routed/rtquery/rtquery.c
index 0579141..42d4d6e 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 */
OpenPOWER on IntegriCloud