From 5775283f8b87684f7db5c01c722677dd29f884b9 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 11 May 2009 10:41:28 +0200 Subject: updated MSK calculation in MSCHAPv2, compatible with Win7/2008 RC. --- src/charon/plugins/eap_mschapv2/eap_mschapv2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/charon/plugins/eap_mschapv2') diff --git a/src/charon/plugins/eap_mschapv2/eap_mschapv2.c b/src/charon/plugins/eap_mschapv2/eap_mschapv2.c index 9ddb8fc82..625a8a54c 100644 --- a/src/charon/plugins/eap_mschapv2/eap_mschapv2.c +++ b/src/charon/plugins/eap_mschapv2/eap_mschapv2.c @@ -456,7 +456,7 @@ static status_t GenerateMSK(chunk_t password_hash_hash, hasher->allocate_hash(hasher, concat, &master_send_key); master_send_key.len = 16; - *msk = chunk_cat("cccc", master_receive_key, keypad, master_send_key, keypad); + *msk = chunk_cat("cccc", master_receive_key, master_send_key, keypad, keypad); hasher->destroy(hasher); chunk_free(&master_key); -- cgit v1.2.3