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.
This commit is contained in:
parent
aa116ba522
commit
00ffb056e8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue