diff options
author | Martin Willi <martin@strongswan.org> | 2009-05-11 10:41:28 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-05-11 10:42:53 +0200 |
commit | 5775283f8b87684f7db5c01c722677dd29f884b9 (patch) | |
tree | ef35196fecabc128a95defd528faa44d2b30c0db /src/charon/plugins/eap_mschapv2 | |
parent | 25f2d52f30b3a028882355c875966354d3eeedee (diff) | |
download | strongswan-5775283f8b87684f7db5c01c722677dd29f884b9.tar.bz2 strongswan-5775283f8b87684f7db5c01c722677dd29f884b9.tar.xz |
updated MSK calculation in MSCHAPv2, compatible with Win7/2008 RC.
Diffstat (limited to 'src/charon/plugins/eap_mschapv2')
-rw-r--r-- | src/charon/plugins/eap_mschapv2/eap_mschapv2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |