From 9737237093a420c569111466af61279c8a407e8e Mon Sep 17 00:00:00 2001 From: Brad Anderson Date: Fri, 19 Apr 2024 08:56:32 -0400 Subject: [PATCH] remove OpenSSL downgrade, cleanup comments (#259) --- cpp/Cipher/MGLCipherHostObject.cpp | 2 -- react-native-quick-crypto.podspec | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cpp/Cipher/MGLCipherHostObject.cpp b/cpp/Cipher/MGLCipherHostObject.cpp index bc3306b4..cb38f836 100644 --- a/cpp/Cipher/MGLCipherHostObject.cpp +++ b/cpp/Cipher/MGLCipherHostObject.cpp @@ -601,8 +601,6 @@ bool MGLCipherHostObject::InitAuthenticated(const char *cipher_type, int iv_len, // TODO(tniessen) Support CCM decryption in FIPS mode #if OPENSSL_VERSION_MAJOR >= 3 - // TODO: not sure where kind_ comes from in next line, but as we bump - // OpenSSL version we will need to look at Node.js code and figure it out. if (mode == EVP_CIPH_CCM_MODE && !isCipher_ && EVP_default_properties_is_fips_enabled(nullptr)) { #else diff --git a/react-native-quick-crypto.podspec b/react-native-quick-crypto.podspec index bebeb924..9957e72c 100644 --- a/react-native-quick-crypto.podspec +++ b/react-native-quick-crypto.podspec @@ -37,7 +37,7 @@ Pod::Spec.new do |s| "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/glog\" \"${PODS_ROOT}/Headers/Public/React-hermes\" \"${PODS_ROOT}/Headers/Public/hermes-engine\"" } - s.dependency "OpenSSL-Universal", "~> 1.1.2200" + s.dependency "OpenSSL-Universal" s.dependency "React-Core" s.dependency "React" s.dependency "React-callinvoker"