diff options
| author | 2023-02-28 16:47:10 -0800 | |
|---|---|---|
| committer | 2023-02-28 16:59:38 -0800 | |
| commit | b008303c90422598fceba757ef60aebcfff95262 (patch) | |
| tree | 493f9fb06301ec1554ec0286fcd8db7e911a13d4 /api/api_test.go | |
| parent | 643dc76f51be7d34c9ace96b8939cb4101913668 (diff) | |
Fix digest algorithm
The previous code used Checksum's algorithm definition, which is
obviously inconsistent with the enum in our atom. It's a bad idea to use
Checksum, so replace it with a new private data class, Digest.
Fixes: 271151129
Test: Inspect the atom, the value looks correct (I'm seeing
CHUNKED_SHA512 for APEXes and CHUNKED_SHA256 for MBA)
Change-Id: Ib5ef1f7cdf53207f42651c572a5566f8c154d7c6
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions