Re: [BUG] EAP-pwd with EAP_PWD_PREP_MS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 551d2d8c5c3b16f25ffabc6417ea2288e3881600
Author: Brian Candler <b.candler@xxxxxxxxx>
Date:   Sat Oct 8 08:09:07 2016 +0100

    EAP-pwd: Fix the pre-processing field in the response when
    EAP_PWD_PREP_MS is being used

    Signed-off-by: Brian Candler <B.Candler@xxxxxxxxx>

diff --git a/src/eap_peer/eap_pwd.c b/src/eap_peer/eap_pwd.c
index d2bc981..662347b 100644
--- a/src/eap_peer/eap_pwd.c
+++ b/src/eap_peer/eap_pwd.c
@@ -345,7 +345,7 @@ eap_pwd_perform_id_exchange(struct eap_sm *sm, struct eap_pwd_data *data,
        wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_RAND_FUNC);
        wpabuf_put_u8(data->outbuf, EAP_PWD_DEFAULT_PRF);
        wpabuf_put_data(data->outbuf, id->token, sizeof(id->token));
-       wpabuf_put_u8(data->outbuf, EAP_PWD_PREP_NONE);
+       wpabuf_put_u8(data->outbuf, id->prep);
        wpabuf_put_data(data->outbuf, data->id_peer, data->id_peer_len);

        eap_pwd_state(data, PWD_Commit_Req);

Attachment: wpasupp.diff.gz
Description: application/gzip

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux