lib/braintree/digest.rb in braintree-2.28.0 vs lib/braintree/digest.rb in braintree-2.29.0

- old
+ new

@@ -18,10 +18,10 @@ result == 0 end def self._hmac_sha1(key, message) key_digest = ::Digest::SHA1.digest(key) - sha1 = OpenSSL::Digest::Digest.new("sha1") + sha1 = OpenSSL::Digest.new("sha1") OpenSSL::HMAC.hexdigest(sha1, key_digest, message.to_s) end end end