Julia Kreger c05fdf790c Fix checksum validation logic
The checksum validation logic, which was updated early on in the
whole process of deprecating md5, didn't account for a URL *or* a
longer checksum (i.e. sha256/sha512) which was decided while the
overall approach was being decided.

Fixes the logic, and adds additional tests.

Change-Id: Ic4053776e131fc02ace295a1e69e9f9faab47f42
2023-05-02 17:24:57 -07:00
..
2022-04-14 10:47:06 +00:00
2021-04-01 11:16:20 -07:00
2023-05-02 17:24:57 -07:00
2023-05-02 17:24:57 -07:00
2021-12-16 22:03:51 +01:00
2023-04-24 16:54:42 -07:00
2022-01-10 11:31:33 +01:00
2023-05-02 06:41:25 +00:00