From: Jouni Malinen Date: Wed, 14 Dec 2016 14:38:44 +0000 (+0200) Subject: Fix preauth_test build by updating add_pmkid/remove_pmkid callbacks X-Git-Tag: hostap_2_7~2009 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aaa9c60bc29750f7c09685635b6811c8041663cc;p=thirdparty%2Fhostap.git Fix preauth_test build by updating add_pmkid/remove_pmkid callbacks Commit c579312736163d8d038542408daaefad9659815d ('Add PMKSA-CACHE-ADDED/REMOVED events to wpa_supplicant') added new arguments to these callback functions, but forgot to update the implementations in preauth_test.c. Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/preauth_test.c b/wpa_supplicant/preauth_test.c index f4bba98e2..6ae239f79 100644 --- a/wpa_supplicant/preauth_test.c +++ b/wpa_supplicant/preauth_test.c @@ -143,7 +143,7 @@ static int wpa_supplicant_mlme_setprotection(void *wpa_s, const u8 *addr, } -static int wpa_supplicant_add_pmkid(void *wpa_s, +static int wpa_supplicant_add_pmkid(void *wpa_s, void *network_ctx, const u8 *bssid, const u8 *pmkid) { printf("%s - not implemented\n", __func__); @@ -151,7 +151,7 @@ static int wpa_supplicant_add_pmkid(void *wpa_s, } -static int wpa_supplicant_remove_pmkid(void *wpa_s, +static int wpa_supplicant_remove_pmkid(void *wpa_s, void *network_ctx, const u8 *bssid, const u8 *pmkid) { printf("%s - not implemented\n", __func__);