From: Frank Cusack Date: Thu, 14 Nov 2002 21:50:12 +0000 (+0000) Subject: suppress compiler warning about unused SRP var X-Git-Tag: ppp-2.4.7~355 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=953892bd954dca42f61d8b605e30f8f0d78ca445 suppress compiler warning about unused SRP var --- diff --git a/pppd/eap.c b/pppd/eap.c index cc3bc73..8c22838 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.2 2002/11/14 21:50:12 fcusack Exp $" /* * TODO: @@ -81,7 +81,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.