X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fsha1.h;h=5c231e378ea6d02f82bbebcfaf5e2237b7d9e682;hp=6a3406a8e443fc4862ce7afc5c2351b17e0cd3ec;hb=f8698b9c814a62a117982701b9551f699553b2a4;hpb=f2db311f527e6037c836cf1b14debb841e09b440 diff --git a/src/sha1.h b/src/sha1.h index 6a3406a8..5c231e37 100644 --- a/src/sha1.h +++ b/src/sha1.h @@ -37,9 +37,9 @@ hashes_cmp(const u8 h1[SHA1_HASH_SIZE], } static inline void -print_hash(const u8 hash[SHA1_HASH_SIZE]) +print_hash(const u8 hash[SHA1_HASH_SIZE], FILE *out) { - print_byte_field(hash, SHA1_HASH_SIZE); + print_byte_field(hash, SHA1_HASH_SIZE, out); } static inline bool