Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop invalid calls to
CRYPTO_set_mem_functions
These calls did not check the return value. If they had, it would have shown that the calls were failing due to passing `NULL` for the `realloc` function pointer. That causes an early return, so the calls weren't actually doing anything. The `malloc`/`realloc`/`free` functions defined in Cryptlib/SysCall/BaseMemAllocation.c are what actually get used, so just drop the explicit call to `CRYPTO_set_mem_functions`. Signed-off-by: Nicholas Bishop <[email protected]>
- Loading branch information