]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix eapol-supp fuzzing tool build
authorJouni Malinen <jouni@codeaurora.org>
Tue, 2 Jun 2020 20:35:17 +0000 (23:35 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 2 Jun 2020 20:48:37 +0000 (23:48 +0300)
Boolean handling was changed to use "true" instead of "TRUE", but this
location was missed.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/fuzzing/eapol-supp/eapol-supp.c

index 6f0b8cba8e82c9185508fa58b601afae54da50d4..94e0147adf15208146622d0bf4f2138d3c96b943 100644 (file)
@@ -33,7 +33,7 @@ static void test_send_eapol(void *eloop_data, void *user_ctx)
 
        wpa_hexdump(MSG_MSGDUMP, "fuzzer - EAPOL", ctx->data, ctx->data_len);
 
-       eapol_sm_notify_portEnabled(ctx->eapol, TRUE);
+       eapol_sm_notify_portEnabled(ctx->eapol, true);
 
        wpa_sm_set_param(ctx->wpa, WPA_PARAM_PROTO, WPA_PROTO_RSN);
        wpa_sm_set_param(ctx->wpa, WPA_PARAM_RSN_ENABLED, 1);