Skip to content

Commit 2a15bc0

Browse files
author
Andrei Zavada
committed
same, tweak for otp-25
1 parent 430df91 commit 2a15bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/riak_cs/test/prop_riak_cs_s3_auth.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ make_authorization(Config, Method, ContentMD5, ContentType, Date, AmzHeaders,
104104
format_subresources(Subresources)
105105

106106
],
107-
Signature = base64:encode(crypto:hmac(sha, Config#aws_config.secret_access_key, StringToSign)),
107+
Signature = base64:encode(crypto:mac(hmac, sha, Config#aws_config.secret_access_key, StringToSign)),
108108
["AWS ", Config#aws_config.access_key_id, $:, Signature].
109109

110110
format_subresources([]) ->

0 commit comments

Comments
 (0)