Skip to content

Commit 3cbffd3

Browse files
Merge pull request #7162 from per-allansson/dtls13-fips-missing-return
Fix missing return in DTLS1.3 / FIPS code
2 parents 1574de1 + 92d7815 commit 3cbffd3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/dtls13.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ static int Dtls13GetRnMask(WOLFSSL* ssl, const byte* ciphertext, byte* mask,
262262
return wc_AesEncryptDirect(c->aes, mask, ciphertext);
263263
#else
264264
wc_AesEncryptDirect(c->aes, mask, ciphertext);
265+
return 0;
265266
#endif
266267
}
267268
#endif /* HAVE_AESGCM || HAVE_AESCCM */

0 commit comments

Comments
 (0)