Skip to content

Commit

Permalink
FIX: checksum with file! argument not supporting all available me…
Browse files Browse the repository at this point in the history
…thods
  • Loading branch information
Oldes committed Feb 6, 2024
1 parent f25ddfa commit 8206872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/n-strings.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ static struct digest {
else {
// Dispatch file to file-checksum function...
REBVAL *func = Find_Word_Value(Lib_Context, SYM_FILE_CHECKSUM);
if (func && IS_FUNCTION(func) && sym > SYM_CRC32 && sym <= SYM_RIPEMD160) {
if (func && IS_FUNCTION(func) && sym > SYM_CRC32 && sym <= SYM_SHA3_512) {
if (D_REF(ARG_CHECKSUM_WITH) || D_REF(ARG_CHECKSUM_PART))
Trap0(RE_BAD_REFINES);

Expand Down

0 comments on commit 8206872

Please sign in to comment.