Fix missing return in DTLS1.3 / FIPS code

This commit is contained in:
Per Allansson
2024-01-23 08:35:07 +01:00
parent b0de0a1c95
commit 92d7815b5c

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