We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 350a478 commit 5471955Copy full SHA for 5471955
source/darwin/darwin_pki_utils.c
@@ -52,7 +52,7 @@ int aws_import_ecc_key_into_keychain(
52
struct aws_pem_object *pem_object_ptr = NULL;
53
/* We only check the first pem section. Currently, we dont support key with multiple pem section. */
54
aws_array_list_get_at_ptr(&decoded_key_buffer_list, (void **)&pem_object_ptr, index);
55
- AWS_ASSERT(decoded_key_buffer);
+ AWS_ASSERT(pem_object_ptr);
56
CFDataRef key_data = CFDataCreate(cf_alloc, pem_object_ptr->data.buffer, pem_object_ptr->data.len);
57
if (!key_data) {
58
AWS_LOGF_ERROR(AWS_LS_IO_PKI, "static: error in creating ECC key data system call.");
0 commit comments