]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/eap.c
Change some Makefile.linux files to use COPTS and CFLAGS the same way
[ppp.git] / pppd / eap.c
index cc3bc73dcd2b9ad5ad110848830749407a8197aa..6a50a599e45756b3471586ea22fa0a31603ba0fc 100644 (file)
@@ -43,7 +43,7 @@
  * Based on draft-ietf-pppext-eap-srp-03.txt.
  */
 
-#define RCSID  "$Id: eap.c,v 1.1 2002/11/02 19:48:12 carlsonj Exp $"
+#define RCSID  "$Id: eap.c,v 1.3 2003/06/11 23:56:26 paulus Exp $"
 
 /*
  * TODO:
@@ -63,8 +63,6 @@
 #include "pppd.h"
 #include "pathnames.h"
 #include "md5.h"
-/* For MD5_SIGNATURE_SIZE and MIN/MAX_CHALLENGE_LENGTH; should fix. */
-#include "chap.h"
 #include "eap.h"
 
 #ifdef USE_SRP
@@ -81,7 +79,9 @@
 static const char rcsid[] = RCSID;
 
 eap_state eap_states[NUM_PPP];         /* EAP state; one for each unit */
+#ifdef USE_SRP
 static char *pn_secret = NULL;         /* Pseudonym generating secret */
+#endif
 
 /*
  * Command-line options.