# # patch "merkle_tree.cc" # from [19b84c7505fade85afd4d0cf393de3053b6fa5cf] # to [618189095f626048644ebf41a3054d62d52c9775] # ======================================================================== --- merkle_tree.cc 19b84c7505fade85afd4d0cf393de3053b6fa5cf +++ merkle_tree.cc 618189095f626048644ebf41a3054d62d52c9775 @@ -62,9 +62,9 @@ Botan::SHA_160 hash; hash.update(reinterpret_cast(in.data()), static_cast(in.size())); - char digest[hash.OUTPUT_LENGTH]; + char digest[constants::sha1_digest_length]; hash.final(reinterpret_cast(digest)); - string out(digest, hash.OUTPUT_LENGTH); + string out(digest, constants::sha1_digest_length); return out; }