Commit d04b3767 authored by Steven R. Loomis's avatar Steven R. Loomis
Browse files

build: allow icu download to use other hashes besides md5

- ICU uses sha512 instead of md5 in some recent releases
- Use hashlib.algorithms_guaranteed to choose the following algorithms:
    sha1 sha224 sha384 sha256 sha512 md5
- No preference as to the priority of the algorithms
- This commit does not change the hash used for ICU.

Fixes: https://github.com/nodejs/node/issues/27369


Reviewed-By: default avatarRefael Ackermann <refack@gmail.com>
Reviewed-by: default avatarUjjwal Sharma <usharma1998@gmail.com>
Reviewed-by: default avatarRichard Lau <riclau@uk.ibm.com>
PR-URL: https://github.com/nodejs/node/pull/27370
parent 744cdecb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment