Skip to content

Commit

Permalink
Use thread-safe digest lookup
Browse files Browse the repository at this point in the history
Fixes #45
  • Loading branch information
jhecking committed Apr 6, 2017
1 parent 0c6f04d commit 94380ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aerospike/key.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Key
if RUBY_PLATFORM == 'java'
OpenSSL::Digest::RIPEMD160.new
else
Digest::RMD160.new
Digest(:RMD160).new
end
end

Expand Down

0 comments on commit 94380ac

Please sign in to comment.