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:
parent
84507a64cc
commit
b4f84e77a0
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user