mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-24 00:57:03 +08:00
PPP, EAP: removed malloc() and free()
Replaced pcb->eap.es_{client,server}.ea_peer pointer to a char table,
replaced strdup() with MEMCPY, etc.
This commit is contained in:
@@ -115,7 +115,7 @@ enum eap_state_code {
|
||||
|
||||
struct eap_auth {
|
||||
const char *ea_name; /* Our name */
|
||||
char *ea_peer; /* Peer's name */
|
||||
char ea_peer[MAXNAMELEN +1]; /* Peer's name */
|
||||
void *ea_session; /* Authentication library linkage */
|
||||
u_char *ea_skey; /* Shared encryption key */
|
||||
u_short ea_namelen; /* Length of our name */
|
||||
|
||||
Reference in New Issue
Block a user