lian / bitcoin-ruby

bitcoin utils and protocol in ruby.
Other
922 stars 322 forks source link

Update ffi/openssl.rb to load openssl 1.0 if available #206

Closed krobertson closed 7 years ago

krobertson commented 7 years ago

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 #205