mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
cast to fix warning in test case
This commit is contained in:
@ -55869,7 +55869,7 @@ static byte test_AEAD_done = 0;
|
|||||||
|
|
||||||
static int test_AEAD_cbiorecv(WOLFSSL *ssl, char *buf, int sz, void *ctx)
|
static int test_AEAD_cbiorecv(WOLFSSL *ssl, char *buf, int sz, void *ctx)
|
||||||
{
|
{
|
||||||
int ret = recv(wolfSSL_get_fd(ssl), buf, sz, 0);
|
int ret = (int)recv(wolfSSL_get_fd(ssl), buf, sz, 0);
|
||||||
if (ret > 0) {
|
if (ret > 0) {
|
||||||
if (test_AEAD_fail_decryption) {
|
if (test_AEAD_fail_decryption) {
|
||||||
/* Modify the packet to trigger a decryption failure */
|
/* Modify the packet to trigger a decryption failure */
|
||||||
|
Reference in New Issue
Block a user