diff options
| author | Nicholas Bishop <nicholasbishop@google.com> | 2022-12-16 17:28:48 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2023-05-02 14:08:17 -0400 |
| commit | 102a658e176b9e0779ba67618ef72eb69021e00a (patch) | |
| tree | a5d7a3090dc84c3032bebb3abffe19c86f45ecf9 /include | |
| parent | 1f38cb30a5e1dcea97b8d48915515b866ec13c32 (diff) | |
| download | efi-boot-shim-102a658e176b9e0779ba67618ef72eb69021e00a.tar.gz efi-boot-shim-102a658e176b9e0779ba67618ef72eb69021e00a.zip | |
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 <nicholasbishop@google.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
