mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #1777: case for unknown EC2 SignatureVersion
Patch provided by Piotr Sawicki <p.sawicki@task.gda.pl> (cherry picked from commit 0f6915e0f8de5bbdc33eb95e433da2fd9978474e)
This commit is contained in:
parent
00b664dc8d
commit
41e138be10
@ -23,6 +23,7 @@ module EC2CloudAuth
|
||||
signature = case params['SignatureVersion']
|
||||
when "1" then signature_v1(params.clone,one_pass)
|
||||
when "2" then signature_v2(params.clone,one_pass,env,true,false)
|
||||
else return nil
|
||||
end
|
||||
|
||||
if params['Signature'] == signature
|
||||
|
Loading…
x
Reference in New Issue
Block a user