updated MSK calculation in MSCHAPv2, compatible with Win7/2008 RC.

This commit is contained in:
Martin Willi
2009-05-11 10:42:53 +02:00
parent 25f2d52f30
commit 5775283f8b
@@ -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);