From 955e2076b6ce8dc8d2a5f0e2ce2cb06e0dfdd7a8 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 4 Oct 2023 12:46:37 +0200 Subject: [PATCH] change(wpa_supplicant): clean up test_dpp, set leak threshold --- components/wpa_supplicant/test_apps/main/test_dpp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/components/wpa_supplicant/test_apps/main/test_dpp.c b/components/wpa_supplicant/test_apps/main/test_dpp.c index 72e16c4a64..b75cbbd915 100644 --- a/components/wpa_supplicant/test_apps/main/test_dpp.c +++ b/components/wpa_supplicant/test_apps/main/test_dpp.c @@ -14,8 +14,10 @@ #include "utils/common.h" #include "utils/includes.h" #include "crypto/crypto.h" -#include "../src/common/defs.h" -#include "../src/common/dpp.h" +#include "common/defs.h" +#include "common/dpp.h" +#include "sdkconfig.h" +#include "test_wpa_supplicant_common.h" #ifdef CONFIG_ESP_WIFI_TESTING_OPTIONS struct dpp_global { @@ -32,6 +34,7 @@ extern size_t dpp_nonce_override_len; TEST_CASE("Test vectors DPP responder p256", "[wpa_dpp]") { + set_leak_threshold(120); /* Global variables */ char command[1200] = {0}; const u8 *frame;