Merge pull request #7162 from per-allansson/dtls13-fips-missing-return

Fix missing return in DTLS1.3 / FIPS code
This commit is contained in:
JacobBarthelmeh
2024-01-23 08:30:11 -08:00
committed by GitHub

View File

@@ -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 */