From 38c68f266ebdd51cee6e3a1d43571900b694cff3 Mon Sep 17 00:00:00 2001 From: Dmitriy Musatkin Date: Thu, 5 Oct 2023 14:57:56 -0700 Subject: [PATCH] fix test --- tests/pem_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pem_test.c b/tests/pem_test.c index 703205646..2a1f8b653 100644 --- a/tests/pem_test.c +++ b/tests/pem_test.c @@ -209,7 +209,7 @@ static int s_test_pem_cert_parse_from_file(struct aws_allocator *allocator, void struct aws_array_list output_list; - ASSERT_SUCCESS(aws_array_list_init_dynamic(&output_list, allocator, 1, sizeof(struct aws_byte_buf))); + ASSERT_SUCCESS(aws_array_list_init_dynamic(&output_list, allocator, 1, sizeof(struct aws_pem_object))); ASSERT_SUCCESS(aws_read_and_decode_pem_file_to_buffer_list(allocator, "testparse.crt", &output_list)); ASSERT_UINT_EQUALS(1, aws_array_list_length(&output_list));