Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Oct 15, 2024
1 parent d81125e commit 43a21b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/windows/windows_pki_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ int aws_import_key_pair_to_cert_context(

int result = AWS_OP_ERR;
BYTE *key = NULL;
BYTE *key_wrapper = NULL;

if (aws_pem_objects_init_from_file_contents(&certificates, alloc, *public_cert_chain)) {
AWS_LOGF_ERROR(
Expand Down Expand Up @@ -640,7 +641,6 @@ int aws_import_key_pair_to_cert_context(

struct aws_pem_object *private_key_ptr = NULL;
DWORD decoded_len = 0;
BYTE *key_wrapper = NULL;
DWORD decoded_wrapper_len = 0;
enum aws_certificate_type cert_type = AWS_CT_X509_UNKNOWN;
size_t private_key_count = aws_array_list_length(&private_keys);
Expand Down

0 comments on commit 43a21b7

Please sign in to comment.