-
Notifications
You must be signed in to change notification settings - Fork 326
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
Deprecated openssl calls during initialization #205
Comments
krobertson
added a commit
to krobertson/bitcoin-ruby
that referenced
this issue
May 9, 2017
This updates the `ffi_lib` call to specify some alternative libraries which will prioritize loading openssl 1.0. This fixes an issue on hosts which have openssl 1.1 and 1.0 and would encounter an error for the `SSL_library_init` function not being found. Fixes lian#205
krobertson
added a commit
to krobertson/bitcoin-ruby
that referenced
this issue
May 9, 2017
This updates the `ffi_lib` call to specify some alternative libraries which will prioritize loading openssl 1.0. This fixes an issue on hosts which have openssl 1.1 and 1.0 and would encounter an error for the `SSL_library_init` function not being found. Fixes lian#205
Hi, is this a permanent fix? It definitely works for us, but it would be great if it was included in a published gem. Otherwise managing gems gets a bit more difficult ( Thanks for your great work! |
yes, will release a new gem this week. merging segwit support too. :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FFI::NotFoundError: Function 'SSL_library_init' not found in [libssl.so]
SSL_library_init
was deprecated in OpenSSL 1.1.0 along with ERR_load_crypto_strings, and SSL_load_error_strings. They are called from https://github.com/lian/bitcoin-ruby/blob/master/lib/bitcoin/ffi/openssl.rb#L379.https://www.openssl.org/docs/man1.1.0/ssl/SSL_library_init.html
https://www.openssl.org/docs/man1.1.0/crypto/ERR_load_crypto_strings.html
https://www.openssl.org/docs/man1.1.0/crypto/SSL_load_error_strings.html
The text was updated successfully, but these errors were encountered: