Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Oct 5, 2023
1 parent 38c68f2 commit 6c7f86e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/pem.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ static int s_convert_pem_to_raw_base64(
struct aws_byte_buf current_obj_buf;
AWS_ZERO_STRUCT(current_obj_buf);
struct aws_byte_cursor current_obj_type_cur;
enum aws_pem_object_type current_obj_type;
AWS_ZERO_STRUCT(current_obj_type_cur);
enum aws_pem_object_type current_obj_type = AWS_PEM_TYPE_UNKNOWN;

size_t split_count = aws_array_list_length(&split_buffers);
size_t i = 0;
Expand Down Expand Up @@ -318,6 +319,8 @@ static int s_convert_pem_to_raw_base64(
current_obj_len = 0;
++i;
AWS_ZERO_STRUCT(current_obj_buf);
AWS_ZERO_STRUCT(current_obj_type_cur);
current_obj_type = AWS_PEM_TYPE_UNKNOWN;
}
/* actually on a line with data in it. */
} else {
Expand Down
1 change: 1 addition & 0 deletions source/windows/windows_pki_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include <aws/io/private/pki_utils.h>
#include <aws/io/pem.h>

#include <aws/common/uuid.h>

Expand Down

0 comments on commit 6c7f86e

Please sign in to comment.