From: Jouni Malinen Date: Sat, 19 Nov 2022 15:21:45 +0000 (+0200) Subject: tests: Fix pasn-init fuzz tester build X-Git-Tag: hostap_2_11~1526 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f49b60455512cbbd12b62f5719dc771252e8adde;p=thirdparty%2Fhostap.git tests: Fix pasn-init fuzz tester build Change of the wpas_pasn_start() prototype did not update the fuzzer tool. Fixes: 309765eb660d ("PASN: Use separate variables for BSSID and peer address") Signed-off-by: Jouni Malinen --- diff --git a/tests/fuzzing/pasn-init/pasn-init.c b/tests/fuzzing/pasn-init/pasn-init.c index 680693e8f..b5c941aa7 100644 --- a/tests/fuzzing/pasn-init/pasn-init.c +++ b/tests/fuzzing/pasn-init/pasn-init.c @@ -40,7 +40,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) pasn.send_mgmt = pasn_send_mgmt; hwaddr_aton("02:00:00:00:00:00", own_addr); hwaddr_aton("02:00:00:00:03:00", bssid); - if (wpas_pasn_start(&pasn, own_addr, bssid, WPA_KEY_MGMT_PASN, + if (wpas_pasn_start(&pasn, own_addr, bssid, bssid, WPA_KEY_MGMT_PASN, WPA_CIPHER_CCMP, 19, 2412, NULL, 0, NULL, 0, NULL) < 0) { wpa_printf(MSG_ERROR, "wpas_pasn_start failed");