Skip to content

Commit 1ae6022

Browse files
committed
fix the test
1 parent 415d511 commit 1ae6022

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/s3_checksum_stream_test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ static int compare_chunk_stream(
143143
struct aws_byte_buf read_buf;
144144
aws_byte_buf_init(&read_buf, allocator, buffer_size);
145145
for (size_t i = 0; i < AWS_ARRAY_SIZE(s_checksum_algo_priority_list); i++) {
146+
AWS_ZERO_STRUCT(streamed_encoded_checksum);
146147
enum aws_s3_checksum_algorithm algorithm = s_checksum_algo_priority_list[i];
147148
aws_base64_compute_encoded_len(aws_get_digest_size_from_checksum_algorithm(algorithm), &encoded_len);
148149
size_t total_len =

0 commit comments

Comments
 (0)