summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-auth/source/credentials_provider_anonymous.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/credentials_provider_anonymous.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/credentials_provider_anonymous.c')
-rw-r--r--contrib/restricted/aws/aws-c-auth/source/credentials_provider_anonymous.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/restricted/aws/aws-c-auth/source/credentials_provider_anonymous.c b/contrib/restricted/aws/aws-c-auth/source/credentials_provider_anonymous.c
index a0ac07714f4..62a9a6593fb 100644
--- a/contrib/restricted/aws/aws-c-auth/source/credentials_provider_anonymous.c
+++ b/contrib/restricted/aws/aws-c-auth/source/credentials_provider_anonymous.c
@@ -48,7 +48,9 @@ struct aws_credentials_provider *aws_credentials_provider_new_anonymous(
aws_credentials_provider_init_base(provider, allocator, &s_aws_credentials_provider_anonymous_vtable, credentials);
- provider->shutdown_options = *shutdown_options;
+ if (shutdown_options) {
+ provider->shutdown_options = *shutdown_options;
+ }
return provider;