summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chap.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-05-21 22:55:08 +0000
committerbrian <brian@FreeBSD.org>1998-05-21 22:55:08 +0000
commitdc0ae5e7bf272ca643f040023af2949b476d3ebe (patch)
tree5b14e0e6527f65cf66fd55f948100be1d348b746 /usr.sbin/ppp/chap.c
parent7ef45be0aaea125d5e534c439f7a8ee8e671b459 (diff)
downloadFreeBSD-src-dc0ae5e7bf272ca643f040023af2949b476d3ebe.zip
FreeBSD-src-dc0ae5e7bf272ca643f040023af2949b476d3ebe.tar.gz
o Add some missing #includes
o Calculate base device name correctly.
Diffstat (limited to 'usr.sbin/ppp/chap.c')
-rw-r--r--usr.sbin/ppp/chap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ppp/chap.c b/usr.sbin/ppp/chap.c
index 18c42ce..7119925 100644
--- a/usr.sbin/ppp/chap.c
+++ b/usr.sbin/ppp/chap.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: chap.c,v 1.28.2.27 1998/05/01 19:24:03 brian Exp $
+ * $Id: chap.c,v 1.31 1998/05/21 21:44:25 brian Exp $
*
* TODO:
*/
@@ -27,8 +27,10 @@
#include <netinet/ip.h>
#include <sys/un.h>
+#include <md4.h>
#include <md5.h>
#include <stdlib.h>
+#include <string.h>
#include <termios.h>
#include "mbuf.h"
@@ -56,6 +58,7 @@
#include "bundle.h"
#include "chat.h"
#include "datalink.h"
+#include "chap_ms.h"
static const char *chapcodes[] = {
"???", "CHALLENGE", "RESPONSE", "SUCCESS", "FAILURE"
OpenPOWER on IntegriCloud