lib/bitcoin/ffi/openssl.rb in bitcoin-ruby-0.0.10 vs lib/bitcoin/ffi/openssl.rb in bitcoin-ruby-0.0.11
- old
+ new
@@ -9,10 +9,10 @@
module OpenSSL_EC
extend FFI::Library
if FFI::Platform.windows?
ffi_lib 'libeay32', 'ssleay32'
else
- ffi_lib 'ssl'
+ ffi_lib [ 'libssl.so.1.0.0', 'ssl' ]
end
NID_secp256k1 = 714
POINT_CONVERSION_COMPRESSED = 2
POINT_CONVERSION_UNCOMPRESSED = 4