* [PATCH 2/5] ie: remove unneeded initialization
2024-03-04 16:48 [PATCH 1/5] client: remove unneeded initialization James Prestwood
@ 2024-03-04 16:48 ` James Prestwood
2024-03-04 16:48 ` [PATCH 3/5] files: " James Prestwood
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: James Prestwood @ 2024-03-04 16:48 UTC (permalink / raw)
To: iwd; +Cc: James Prestwood
---
src/ie.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/ie.c b/src/ie.c
index a51724aa..86f33f2a 100644
--- a/src/ie.c
+++ b/src/ie.c
@@ -1178,9 +1178,6 @@ static int build_ciphers_common(const struct ie_rsn_info *info, uint8_t *to,
countptr = to + pos;
pos += 2;
- akm_suite = IE_RSN_AKM_SUITE_8021X;
- count = 0;
-
for (count = 0, akm_suite = IE_RSN_AKM_SUITE_8021X;
akm_suite <= IE_RSN_AKM_SUITE_OSEN;
akm_suite <<= 1) {
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 3/5] files: remove unneeded initialization
2024-03-04 16:48 [PATCH 1/5] client: remove unneeded initialization James Prestwood
2024-03-04 16:48 ` [PATCH 2/5] ie: " James Prestwood
@ 2024-03-04 16:48 ` James Prestwood
2024-03-04 16:48 ` [PATCH 4/5] eap-mschapv2: " James Prestwood
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: James Prestwood @ 2024-03-04 16:48 UTC (permalink / raw)
To: iwd; +Cc: James Prestwood
---
src/fils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/fils.c b/src/fils.c
index f876e7e5..ff8c1d6c 100644
--- a/src/fils.c
+++ b/src/fils.c
@@ -489,7 +489,7 @@ static int fils_rx_associate(struct auth_proto *driver, const uint8_t *frame,
bool sha384 = (fils->hs->akm_suite & (IE_RSN_AKM_SUITE_FILS_SHA384 |
IE_RSN_AKM_SUITE_FT_OVER_FILS_SHA384));
uint8_t data[44];
- uint8_t *ptr = data;
+ uint8_t *ptr;
if (assoc->status_code != 0)
return L_CPU_TO_LE16(assoc->status_code);
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 4/5] eap-mschapv2: remove unneeded initialization
2024-03-04 16:48 [PATCH 1/5] client: remove unneeded initialization James Prestwood
2024-03-04 16:48 ` [PATCH 2/5] ie: " James Prestwood
2024-03-04 16:48 ` [PATCH 3/5] files: " James Prestwood
@ 2024-03-04 16:48 ` James Prestwood
2024-03-04 16:48 ` [PATCH 5/5] dpp: check wrapped data exists in authenticate response James Prestwood
2024-03-04 17:45 ` [PATCH 1/5] client: remove unneeded initialization Denis Kenzior
4 siblings, 0 replies; 6+ messages in thread
From: James Prestwood @ 2024-03-04 16:48 UTC (permalink / raw)
To: iwd; +Cc: James Prestwood
---
src/eap-mschapv2.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/eap-mschapv2.c b/src/eap-mschapv2.c
index 7f71cc82..1639f578 100644
--- a/src/eap-mschapv2.c
+++ b/src/eap-mschapv2.c
@@ -445,7 +445,6 @@ static int eap_mschapv2_check_settings(struct l_settings *settings,
if (!identity) {
secret = l_queue_find(secrets, eap_secret_info_match, setting);
if (secret) {
- identity = l_strdup(secret->value);
password = l_strdup(secret->value +
strlen(secret->value) + 1);
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH 5/5] dpp: check wrapped data exists in authenticate response
2024-03-04 16:48 [PATCH 1/5] client: remove unneeded initialization James Prestwood
` (2 preceding siblings ...)
2024-03-04 16:48 ` [PATCH 4/5] eap-mschapv2: " James Prestwood
@ 2024-03-04 16:48 ` James Prestwood
2024-03-04 17:45 ` [PATCH 1/5] client: remove unneeded initialization Denis Kenzior
4 siblings, 0 replies; 6+ messages in thread
From: James Prestwood @ 2024-03-04 16:48 UTC (permalink / raw)
To: iwd; +Cc: James Prestwood
---
src/dpp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dpp.c b/src/dpp.c
index 74b4c2bc..567fe8d2 100644
--- a/src/dpp.c
+++ b/src/dpp.c
@@ -2368,7 +2368,7 @@ static void authenticate_response(struct dpp_sm *dpp, const uint8_t *from,
}
}
- if (status != DPP_STATUS_OK || !r_boot_hash || !r_proto ) {
+ if (status != DPP_STATUS_OK || !r_boot_hash || !r_proto || !wrapped) {
l_debug("Auth response bad status or missing attributes");
return;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH 1/5] client: remove unneeded initialization
2024-03-04 16:48 [PATCH 1/5] client: remove unneeded initialization James Prestwood
` (3 preceding siblings ...)
2024-03-04 16:48 ` [PATCH 5/5] dpp: check wrapped data exists in authenticate response James Prestwood
@ 2024-03-04 17:45 ` Denis Kenzior
4 siblings, 0 replies; 6+ messages in thread
From: Denis Kenzior @ 2024-03-04 17:45 UTC (permalink / raw)
To: James Prestwood, iwd
Hi James,
On 3/4/24 10:48, James Prestwood wrote:
> ---
> client/display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
All applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 6+ messages in thread