Commit 1e3f1447 authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

net: tls_credentials: Add missing base64.h header inclusion



base64_encode() was used w/o including the base64.h header. This commit
fixes it.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 48230f21
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
#if defined(CONFIG_PSA_WANT_ALG_SHA_256) && defined(CONFIG_BASE64)

#include <psa/crypto.h>
#include <zephyr/sys/base64.h>

int credential_digest_raw(struct tls_credential *credential, void *dest, size_t *len)
{