Merge pull request #2608 from SparkiDev/use_heap

When disabled memory, ensure all heap and types are used
This commit is contained in:
toddouska
2019-11-20 16:18:07 -08:00
committed by GitHub
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;
}
@ -8351,6 +8355,8 @@ static int TLSX_PreSharedKey_New(PreSharedKey** list, byte* identity,
*list = psk;
*preSharedKey = psk;
(void)heap;
return 0;
}

View File

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