// for c99, free(NULL) will return directly, so here
// use BOAT_HLFABRIC_ROOTCA_MAX_NUM as cyclic maximum is acceptable.
if (wallet_ptr->tlsCAchain.ca.field_ptr != NULL)
{
BoatFree(wallet_ptr->tlsCAchain.ca.field_ptr);
}
wallet_ptr->tlsCAchain.ca.field_len = 0;
void BoatHlfabricWalletDeInit(BoatHlfabricWallet *wallet_ptr) { // BUINT16 i, j, k;
if (BOAT_HLFABRIC_TLS_SUPPORT == 1)
endif / #if (BOAT_HLFABRIC_TLS_SUPPORT == 1) /
}