Skip to content

Commit

Permalink
Use OpenSSL::Digest in favor of the now deprecated OpenSSL::Digest::D…
Browse files Browse the repository at this point in the history
…igest
  • Loading branch information
Tyler Smith committed Mar 25, 2014
1 parent 9bc233c commit 31ed883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/alexa/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def timestamp
end

def signature
Base64.encode64(OpenSSL::HMAC.digest(OpenSSL::Digest::Digest.new("sha256"), secret_access_key, sign)).strip
Base64.encode64(OpenSSL::HMAC.digest(OpenSSL::Digest.new("sha256"), secret_access_key, sign)).strip
end

def uri
Expand Down

0 comments on commit 31ed883

Please sign in to comment.