eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 00ffb056e88b45de058f32ff43bcfccd3116b5ed
parent aa116ba5229a2b355db2898c518da01e0c4a918b
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 16 Nov 2023 11:15:26 -0800

dpp-util: store SSID as string, not raw buffer

Nearly every use of the ssid member first has to memcpy it to a
buffer and NULL terminate. Instead just store the ssid as a
string when creating/parsing from JSON.

Diffstat:
Msrc/dpp-util.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dpp-util.h b/src/dpp-util.h @@ -112,7 +112,7 @@ enum dpp_attribute_type { }; struct dpp_configuration { - uint8_t ssid[32]; + char ssid[33]; size_t ssid_len; uint32_t akm_suites; char *passphrase;