eiwd

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

commit d3fca54a7ea874604057a22ff608f666a9abc354
parent c42080fe283c26c36035c7149cc16afa22b999f1
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon, 20 Dec 2021 13:49:08 -0800

dpp-util: pass actual ad_size, not hard coded '2'.

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

diff --git a/src/dpp-util.c b/src/dpp-util.c @@ -280,7 +280,7 @@ uint8_t *dpp_unwrap_attr(const void *ad0, size_t ad0_len, const void *ad1, unwrapped = l_malloc(wrapped_len - 16); - if (!aes_siv_decrypt(key, key_len, wrapped, wrapped_len, ad, 2, + if (!aes_siv_decrypt(key, key_len, wrapped, wrapped_len, ad, ad_size, unwrapped)) { l_free(unwrapped); return NULL;