X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Feap.c;h=6a50a599e45756b3471586ea22fa0a31603ba0fc;hb=71d3de90eae52087b405e962ca650b71cec79c67;hp=cc3bc73dcd2b9ad5ad110848830749407a8197aa;hpb=d741a3b912f17d84dc8dc87474e0b989c775de50;p=ppp.git diff --git a/pppd/eap.c b/pppd/eap.c index cc3bc73..6a50a59 100644 --- a/pppd/eap.c +++ b/pppd/eap.c @@ -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.