Skip to content

Commit

Permalink
remove OpenSSL downgrade, cleanup comments (margelo#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
boorad committed Apr 19, 2024
1 parent 0b6c14d commit 9737237
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions cpp/Cipher/MGLCipherHostObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion react-native-quick-crypto.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9737237

Please sign in to comment.