diff --git a/src/netif/ppp/mppe.c b/src/netif/ppp/mppe.c index ec081e5f..62c11cd2 100644 --- a/src/netif/ppp/mppe.c +++ b/src/netif/ppp/mppe.c @@ -136,7 +136,7 @@ static void mppe_rekey(struct ppp_mppe_state * state, int initial_key) state->session_key[1] = 0x26; state->session_key[2] = 0x9e; } - arc4_crypt(&state->arc4, state->session_key, state->keylen); + arc4_setup(&state->arc4, state->session_key, state->keylen); } /*