When disabled memory, ensure all heap and types are used

This commit is contained in:
Sean Parkinson
2019-11-20 17:06:42 +10:00
parent 1a3455110e
commit d441cee6fb
3 changed files with 10 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ static int InitCRL_Entry(CRL_Entry* crle, DecodedCRL* dcrl, const byte* buff,
}
(void)verified;
(void)heap;
return 0;
}

View File

@@ -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;
}
@@ -8347,6 +8351,8 @@ static int TLSX_PreSharedKey_New(PreSharedKey** list, byte* identity,
*list = psk;
*preSharedKey = psk;
(void)heap;
return 0;
}

View File

@@ -14174,6 +14174,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 */