PPP, SERVER, MSCHAP: move output message from chap_server.message struct to stack

chap_server.message is only used in one function, moved to stack.
This commit is contained in:
Sylvain Rochet
2015-03-01 00:34:00 +01:00
parent 371bc91d73
commit f7d5e81130
2 changed files with 4 additions and 4 deletions

View File

@@ -165,7 +165,6 @@ typedef struct chap_server_state {
int challenge_xmits;
int challenge_pktlen;
unsigned char challenge[CHAL_MAX_PKTLEN];
char message[256];
} chap_server_state;
#endif /* PPP_SERVER */
#endif /* CHAP_SUPPORT */