summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shim.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/shim.c b/shim.c
index e54f6345..b3a4fe6b 100644
--- a/shim.c
+++ b/shim.c
@@ -1275,24 +1275,10 @@ EFI_STATUS set_second_stage (EFI_HANDLE image_handle)
return EFI_SUCCESS;
}
-static void *
-ossl_malloc(size_t num)
-{
- return AllocatePool(num);
-}
-
-static void
-ossl_free(void *addr)
-{
- FreePool(addr);
-}
-
static void
init_openssl(void)
{
- CRYPTO_set_mem_functions(ossl_malloc, NULL, ossl_free);
OPENSSL_init();
- CRYPTO_set_mem_functions(ossl_malloc, NULL, ossl_free);
ERR_load_ERR_strings();
ERR_load_BN_strings();
ERR_load_RSA_strings();