From: Javier M. Mellid Date: Fri, 13 Nov 2015 15:11:46 +0000 (+0100) Subject: rgw: return -EINVAL on unknow authorization X-Git-Tag: v10.1.0~351^2^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=55477546e8d5fd42d5b08a102c40aeecccc92767;p=ceph.git rgw: return -EINVAL on unknow authorization Signed-off-by: Javier M. Mellid --- diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index 455a52446115..590f326aaf4c 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -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)