Skip to content

Commit

Permalink
Search for libssl-1.0.0 first
Browse files Browse the repository at this point in the history
Because on systems with libssl-1.1+ ruby 2.3 won't work properly and
libssl-1.0 should be manually selected
  • Loading branch information
mgpnd committed Sep 4, 2017
1 parent 14ff8be commit 1cadbf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/btcruby/openssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module OpenSSL
if FFI::Platform.windows?
ffi_lib 'libeay32', 'ssleay32'
else
ffi_lib 'ssl'
ffi_lib ['libssl.so.1.0.0', 'ssl']
end

NID_secp256k1 = 714
Expand Down

0 comments on commit 1cadbf2

Please sign in to comment.