]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
DPP: Add an explicit debug print for failed to build DPPEnvelopedData
authorJouni Malinen <j@w1.fi>
Sat, 1 Mar 2025 18:12:25 +0000 (20:12 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 1 Mar 2025 18:12:25 +0000 (20:12 +0200)
This is an operation that can fail if OpenSSL is forced to use the fips
provider, so it is helpful to get this failure case clearer in the debug
log.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/dpp_backup.c

index fb3f776d2ea2eb0c7046fae65ca196cfb3a36854..1e92a14fdd205c7f5b194662fc672743d826b359 100644 (file)
@@ -515,6 +515,7 @@ out:
        wpabuf_free(enc_cont_info);
        return env;
 fail:
+       wpa_printf(MSG_INFO, "DPP: Failed to build DPPEnvelopedData");
        wpabuf_free(env);
        env = NULL;
        goto out;