summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_auth_s3.cc
diff options
context:
space:
mode:
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>2017-04-17 22:45:09 +0200
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>2017-06-07 12:43:16 +0200
commite9a17ded0fc47aa977918acea586babd709d1099 (patch)
tree6ee4988f19342aa99a795a38cf259b32100b9a2c /src/rgw/rgw_auth_s3.cc
parentrgw: ONLY change names due to AWSv4 adoption in the auth infra. (diff)
downloadceph-e9a17ded0fc47aa977918acea586babd709d1099.tar.xz
ceph-e9a17ded0fc47aa977918acea586babd709d1099.zip
rgw: all S3 auth engines are able to use AWSv4 now.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Diffstat (limited to 'src/rgw/rgw_auth_s3.cc')
-rw-r--r--src/rgw/rgw_auth_s3.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rgw/rgw_auth_s3.cc b/src/rgw/rgw_auth_s3.cc
index 4b38098302a..81786dc9c17 100644
--- a/src/rgw/rgw_auth_s3.cc
+++ b/src/rgw/rgw_auth_s3.cc
@@ -143,7 +143,9 @@ void rgw_create_s3_canonical_header(
dest_str = dest;
}
-int rgw_get_s3_header_digest(const string& auth_hdr, const string& key, string& dest)
+int rgw_get_s3_header_digest(const std::string& auth_hdr,
+ const std::string& key,
+ std::string& dest)
{
if (key.empty())
return -EINVAL;