From 0ea1f04ec5aa9f049f97e012d1ed63b76834a31b Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Fri, 19 Apr 2024 14:30:56 -0700 Subject: [PATCH] Remove crypto function (#111) --- crt/aws-crt-ffi | 2 +- ext/crt.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crt/aws-crt-ffi b/crt/aws-crt-ffi index 310920c..a266356 160000 --- a/crt/aws-crt-ffi +++ b/crt/aws-crt-ffi @@ -1 +1 @@ -Subproject commit 310920c6ba609711a512937cb34e0416417a793d +Subproject commit a266356369045bbac30610fa5979c79fad1468d0 diff --git a/ext/crt.c b/ext/crt.c index 0099efc..128b234 100644 --- a/ext/crt.c +++ b/ext/crt.c @@ -241,8 +241,6 @@ PHP_INI_END() static PHP_MINIT_FUNCTION(awscrt) { REGISTER_INI_ENTRIES(); - /* prevent s2n from initializing/de-initializing OpenSSL/libcrypto */ - aws_crt_crypto_share(); aws_crt_init(); aws_php_thread_queue_init(&s_aws_php_main_thread_queue); return SUCCESS;