summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chap.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-06-27 14:18:15 +0000
committerbrian <brian@FreeBSD.org>1998-06-27 14:18:15 +0000
commitd8347e5d3e5a5bf9ab942e6a331c6a56042fe1bf (patch)
treef3d943700f073cad0d04df0bce4cb6ab0bf0386e /usr.sbin/ppp/chap.c
parent9666634a89fa23b0d1202c243cdc1224aa43c2e9 (diff)
downloadFreeBSD-src-d8347e5d3e5a5bf9ab942e6a331c6a56042fe1bf.zip
FreeBSD-src-d8347e5d3e5a5bf9ab942e6a331c6a56042fe1bf.tar.gz
Remove redundant includes
Diffstat (limited to 'usr.sbin/ppp/chap.c')
-rw-r--r--usr.sbin/ppp/chap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/ppp/chap.c b/usr.sbin/ppp/chap.c
index 7119925..db7f9f2 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.31 1998/05/21 21:44:25 brian Exp $
+ * $Id: chap.c,v 1.32 1998/05/21 22:55:02 brian Exp $
*
* TODO:
*/
@@ -27,10 +27,11 @@
#include <netinet/ip.h>
#include <sys/un.h>
+#ifdef HAVE_DES
#include <md4.h>
+#endif
#include <md5.h>
#include <stdlib.h>
-#include <string.h>
#include <termios.h>
#include "mbuf.h"
@@ -58,7 +59,9 @@
#include "bundle.h"
#include "chat.h"
#include "datalink.h"
+#ifdef HAVE_DES
#include "chap_ms.h"
+#endif
static const char *chapcodes[] = {
"???", "CHALLENGE", "RESPONSE", "SUCCESS", "FAILURE"
OpenPOWER on IntegriCloud