diff --git a/src/crl.c b/src/crl.c index 012a06a30..1376a72d8 100644 --- a/src/crl.c +++ b/src/crl.c @@ -121,6 +121,7 @@ static int InitCRL_Entry(CRL_Entry* crle, DecodedCRL* dcrl, const byte* buff, } (void)verified; + (void)heap; return 0; } diff --git a/src/tls.c b/src/tls.c index f6cb27220..e982ad425 100644 --- a/src/tls.c +++ b/src/tls.c @@ -1449,6 +1449,8 @@ static ALPN* TLSX_ALPN_New(char *protocol_name, word16 protocol_nameSz, XMEMCPY(alpn->protocol_name, protocol_name, protocol_nameSz); alpn->protocol_name[protocol_nameSz] = 0; + (void)heap; + return alpn; } @@ -2420,6 +2422,8 @@ static TCA* TLSX_TCA_New(byte type, const byte* id, word16 idSz, void* heap) } } + (void)heap; + return tca; } @@ -8351,6 +8355,8 @@ static int TLSX_PreSharedKey_New(PreSharedKey** list, byte* identity, *list = psk; *preSharedKey = psk; + (void)heap; + return 0; } diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 81c5ee5de..23422c8aa 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -14170,6 +14170,9 @@ static int ASNToHexString(const byte* input, word32* inOutIdx, char** out, *inOutIdx += len; *out = str; + (void)heap; + (void)heapType; + return 0; } #endif /* WOLFSSL_CUSTOM_CURVES */