From 92d7815b5c14af1aa8f9c3626d0df5e1fdf3ec3d Mon Sep 17 00:00:00 2001 From: Per Allansson Date: Tue, 23 Jan 2024 08:35:07 +0100 Subject: [PATCH] Fix missing return in DTLS1.3 / FIPS code --- src/dtls13.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dtls13.c b/src/dtls13.c index 3591d67b4..86e5fb8be 100644 --- a/src/dtls13.c +++ b/src/dtls13.c @@ -262,6 +262,7 @@ static int Dtls13GetRnMask(WOLFSSL* ssl, const byte* ciphertext, byte* mask, return wc_AesEncryptDirect(c->aes, mask, ciphertext); #else wc_AesEncryptDirect(c->aes, mask, ciphertext); + return 0; #endif } #endif /* HAVE_AESGCM || HAVE_AESCCM */