Skip to content

Commit

Permalink
Digest::Digest is deprecated; use Digest
Browse files Browse the repository at this point in the history
  • Loading branch information
nathany committed Jan 21, 2014
1 parent 8902363 commit 571f975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/s3_direct_upload/form_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def policy_data
def signature
Base64.encode64(
OpenSSL::HMAC.digest(
OpenSSL::Digest::Digest.new('sha1'),
OpenSSL::Digest.new('sha1'),
@options[:aws_secret_access_key], policy
)
).gsub("\n", "")
Expand Down

0 comments on commit 571f975

Please sign in to comment.