mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 23:12:09 +00:00
PPP, MPPE, fixed mppe_rekey()
Oops, it was introduced when porting to PolarSSL ARC4.
This commit is contained in:
parent
4d6d65ee33
commit
89d666155d
@ -136,7 +136,7 @@ static void mppe_rekey(struct ppp_mppe_state * state, int initial_key)
|
|||||||
state->session_key[1] = 0x26;
|
state->session_key[1] = 0x26;
|
||||||
state->session_key[2] = 0x9e;
|
state->session_key[2] = 0x9e;
|
||||||
}
|
}
|
||||||
arc4_crypt(&state->arc4, state->session_key, state->keylen);
|
arc4_setup(&state->arc4, state->session_key, state->keylen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user