rgw: return -EINVAL on unknow authorization

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
This commit is contained in:
Javier M. Mellid 2015-11-13 16:11:46 +01:00
parent e533917dc9
commit 55477546e8

View File

@ -2695,7 +2695,7 @@ int RGW_Auth_S3::authorize(RGWRados *store, struct req_state *s)
}
return -EPERM;
return -EINVAL;
}
int RGW_Auth_S3::authorize_aws4_auth_complete(RGWRados *store, struct req_state *s)