lib/aws/s3/presigned_post.rb in aws-sdk-1.30.1 vs lib/aws/s3/presigned_post.rb in aws-sdk-1.31.0
- old
+ new
@@ -340,10 +340,10 @@
# long as they are described by a policy condition (see
# {#where}).
def fields
secret = config.credential_provider.secret_access_key
- signature = Core::Signer.sign(secret, policy, 'sha1')
+ signature = Core::Signers::Base.sign(secret, policy, 'sha1')
fields = {
"AWSAccessKeyId" => config.credential_provider.access_key_id,
"key" => key,
"policy" => policy,