bug #1777: case for unknown EC2 SignatureVersion

Patch provided by Piotr Sawicki <p.sawicki@task.gda.pl>
This commit is contained in:
Javi Fontan committed 2013-02-22 16:16:10 +01:00
1 parent 6b93d0899e
commit 0f6915e0f8
1 file changed
+1
@@ -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