-
Notifications
You must be signed in to change notification settings - Fork 16
bumps openssl to 3.3.2 from 1.11.11-beta-1 #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
// https://mvnrepository.com/artifact/com.android.ndk.thirdparty/openssl | ||
implementation 'com.android.ndk.thirdparty:openssl:1.1.1l-beta-1' | ||
// Add a dependency on OpenSSL | ||
implementation "io.github.ronickg:openssl:3.3.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@peterpme why are you switching up from com.android.ndk.thirdparty
to io.github.ronickg
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because you did :) I copied it directly from quick-crypto to solve the duplicate symbols stuff
https://github.com/margelo/react-native-quick-crypto/pull/559/files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ooh, cc @boorad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
margelo/react-native-quick-crypto#351
ndk doesn't publish OpenSSL >= 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing, thank you @renanmav !! |
Bumps OpenSSL to the same version quick-crypto has. Not sure if this is possible yet to be honest but wanted to get the ball rolling.
Fixes issue when using both libraries.
Thanks!
❯ nm -D node_modules/react-native-quick-crypto/../libcrypto.so | rg BN_CTX_new
000000000026a3b0 T BN_CTX_new@@OPENSSL_3.0.0
000000000026a36c T BN_CTX_new_ex@@OPENSSL_3.0.0
❯ nm -D node_modules/react-native-bignumber/../libcrypto.so | rg BN_CTX_new
00000000000aeac0 T BN_CTX_new@@OPENSSL_1_1_0