diff options
author | thegeorg <[email protected]> | 2025-05-12 15:51:24 +0300 |
---|---|---|
committer | thegeorg <[email protected]> | 2025-05-12 16:06:27 +0300 |
commit | d629bb70c8773d2c0c43f5088ddbb5a86d8c37ea (patch) | |
tree | 4f678e0d65ad08c800db21c657d3b0f71fafed06 /contrib/restricted/aws/aws-c-auth/source/signable_chunk.c | |
parent | 92c4b696d7a1c03d54e13aff7a7c20a078d90dd7 (diff) |
Update contrib/restricted/aws libraries to nixpkgs 24.05
commit_hash:f8083acb039e6005e820cdee77b84e0a6b6c6d6d
Diffstat (limited to 'contrib/restricted/aws/aws-c-auth/source/signable_chunk.c')
-rw-r--r-- | contrib/restricted/aws/aws-c-auth/source/signable_chunk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/restricted/aws/aws-c-auth/source/signable_chunk.c b/contrib/restricted/aws/aws-c-auth/source/signable_chunk.c index 302ce9d3a1a..8ce78504df6 100644 --- a/contrib/restricted/aws/aws-c-auth/source/signable_chunk.c +++ b/contrib/restricted/aws/aws-c-auth/source/signable_chunk.c @@ -30,7 +30,7 @@ static int s_aws_signable_chunk_get_property( if (aws_string_eq(name, g_aws_previous_signature_property_name)) { *out_value = aws_byte_cursor_from_string(impl->previous_signature); } else { - return AWS_OP_ERR; + return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT); } return AWS_OP_SUCCESS; @@ -44,7 +44,7 @@ static int s_aws_signable_chunk_get_property_list( (void)name; (void)out_list; - return AWS_OP_ERR; + return aws_raise_error(AWS_ERROR_UNSUPPORTED_OPERATION); } static int s_aws_signable_chunk_get_payload_stream( |