Skip to content

Commit

Permalink
make sure that part of code actually runs
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Feb 21, 2024
1 parent 08cc9ce commit d4a6bd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/darwin/darwin_pki_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ int aws_import_public_and_private_keys_to_identity(
aws_array_list_get_at_ptr(&cert_chain_list, (void **)&root_cert_ptr, 0);
AWS_ASSERT(root_cert_ptr);
CFDataRef root_cert_data = CFDataCreate(cf_alloc, root_cert_ptr->data.buffer, root_cert_ptr->data.len);
AWS_FATAL_ASSERT(false);
if (!root_cert_data) {
AWS_LOGF_ERROR(AWS_LS_IO_PKI, "static: failed creating root cert data.");
result = aws_raise_error(AWS_ERROR_SYS_CALL_FAILURE);
Expand Down

0 comments on commit d4a6bd5

Please sign in to comment.