PPP, MPPE, fixed mppe_rekey()

Oops, it was introduced when porting to PolarSSL ARC4.
This commit is contained in:
Sylvain Rochet 2015-04-12 01:27:05 +02:00
parent 4d6d65ee33
commit 89d666155d

View File

@ -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);
} }
/* /*