forked from wolfSSL/wolfssl
Merge pull request #7162 from per-allansson/dtls13-fips-missing-return
Fix missing return in DTLS1.3 / FIPS code
This commit is contained in:
@@ -262,6 +262,7 @@ static int Dtls13GetRnMask(WOLFSSL* ssl, const byte* ciphertext, byte* mask,
|
|||||||
return wc_AesEncryptDirect(c->aes, mask, ciphertext);
|
return wc_AesEncryptDirect(c->aes, mask, ciphertext);
|
||||||
#else
|
#else
|
||||||
wc_AesEncryptDirect(c->aes, mask, ciphertext);
|
wc_AesEncryptDirect(c->aes, mask, ciphertext);
|
||||||
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif /* HAVE_AESGCM || HAVE_AESCCM */
|
#endif /* HAVE_AESGCM || HAVE_AESCCM */
|
||||||
|
Reference in New Issue
Block a user