1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

bug #3351: Fix wrong method call. Thanks to Sebastiaan Smit

This commit is contained in:
Ruben S. Montero 2014-11-13 23:22:49 +01:00
parent 84507a64cc
commit b4f84e77a0

View File

@ -50,7 +50,7 @@ module EC2CloudAuth
digest_generator = OpenSSL::Digest::Digest.new(digest)
digest = OpenSSL::HMAC.digest(digest_generator, secret_key, req_desc)
b64sig = Base64.b64encode(digest)
b64sig = Base64.encode64(digest)
return b64sig.strip
end