summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-auth/source/sigv4_http_request.c
diff options
context:
space:
mode:
authorthegeorg <[email protected]>2025-05-12 15:51:24 +0300
committerthegeorg <[email protected]>2025-05-12 16:06:27 +0300
commitd629bb70c8773d2c0c43f5088ddbb5a86d8c37ea (patch)
tree4f678e0d65ad08c800db21c657d3b0f71fafed06 /contrib/restricted/aws/aws-c-auth/source/sigv4_http_request.c
parent92c4b696d7a1c03d54e13aff7a7c20a078d90dd7 (diff)
Update contrib/restricted/aws libraries to nixpkgs 24.05
commit_hash:f8083acb039e6005e820cdee77b84e0a6b6c6d6d
Diffstat (limited to 'contrib/restricted/aws/aws-c-auth/source/sigv4_http_request.c')
-rw-r--r--contrib/restricted/aws/aws-c-auth/source/sigv4_http_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/restricted/aws/aws-c-auth/source/sigv4_http_request.c b/contrib/restricted/aws/aws-c-auth/source/sigv4_http_request.c
index 6e73f2e7f9e..29dca23cee5 100644
--- a/contrib/restricted/aws/aws-c-auth/source/sigv4_http_request.c
+++ b/contrib/restricted/aws/aws-c-auth/source/sigv4_http_request.c
@@ -154,7 +154,7 @@ int aws_apply_signing_result_to_http_request(
}
if (source_header.name == NULL || source_header.value == NULL) {
- return AWS_OP_ERR;
+ return aws_raise_error(AWS_ERROR_INVALID_ARGUMENT);
}
struct aws_http_header dest_header = {