File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ static const enum aws_s3_checksum_algorithm s_checksum_algo_priority_list[] = {
1919 AWS_SCA_CRC32 ,
2020 AWS_SCA_SHA1 ,
2121 AWS_SCA_SHA256 ,
22+ AWS_SCA_SHA512 ,
23+ AWS_SCA_XXHASH64 ,
24+ AWS_SCA_XXHASH3_64 ,
25+ AWS_SCA_XXHASH3_128
2226};
2327AWS_STATIC_ASSERT (AWS_ARRAY_SIZE (s_checksum_algo_priority_list ) == (AWS_SCA_END - AWS_SCA_INIT + 1 ));
2428
Original file line number Diff line number Diff line change @@ -4131,8 +4131,8 @@ static int s_test_s3_round_trip_default_get_fc_helper(
41314131 .object_path_override = object_path ,
41324132 },
41334133 };
4134- if (algorithm != AWS_SCA_SHA1 && algorithm != AWS_SCA_SHA256 ) {
4135- /* Full object checksums doesn't support SHA. */
4134+ if (algorithm == AWS_SCA_CRC32 && algorithm == AWS_SCA_CRC32C && algorithm == AWS_SCA_CRC64NVME ) {
4135+ /* Full object checksums doesn't support SHA or XXHASH . */
41364136 put_options .put_options .full_object_checksum = full_object_checksum ;
41374137 }
41384138
You can’t perform that action at this time.
0 commit comments