The current code generates a warning when compiled by Clang, because if
we goto 'fail:', password_len can be uninitialised when we pass it in to
bin_clear_free().
Note that the actual usage is safe, because bin_clear_free() ignores
the second argument if the first argument is NULL, but it still seems
worth cleaning up.
Signed-off-by: Alasdair Mackintosh <alasdair at google.com>
struct wpabuf *priv_key;
u8 cp[DPP_CP_LEN];
char *password = NULL;
- size_t password_len;
+ size_t password_len = 0;
int hash_sign_algo;
/* TODO: use auth->csrattrs */