From e9a17ded0fc47aa977918acea586babd709d1099 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Mon, 17 Apr 2017 22:45:09 +0200 Subject: rgw: all S3 auth engines are able to use AWSv4 now. Signed-off-by: Radoslaw Zarzynski --- src/rgw/rgw_auth_s3.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/rgw/rgw_auth_s3.cc') 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; -- cgit v1.2.3