hash: Fix missing terminating null in encoding

laumann
May 27, 2023, 7:20 PM
DRJRVIKO7MYMXIXKZDZESLZVT7Q6PSTI54MLAHJPWHDWP2R3IYIAC

Dependencies

  • [2] DKX3RO3L base32: Add encoding of hashes, print base32-encoded hashes
  • [3] WABDGHPO hash: fix unused variable warning
  • [4] YG4DZB3A add representation of hash, decode dependencies

Change contents

  • replacement in hash.c at line 21
    [3.485][2.42:61]()
    char b32hash[53];
    [3.477]
    [2.61]
    char b32hash[54];
  • replacement in hash.c at line 23
    [2.62][2.62:87]()
    memset(b32hash, 0, 53);
    [2.62]
    [3.485]
    memset(b32hash, 0, 54);