]> wimlib.net Git - wimlib/blobdiff - src/sha1.h
Fixes; comments
[wimlib] / src / sha1.h
index 6a3406a8e443fc4862ce7afc5c2351b17e0cd3ec..d278aa9251568e037234263b891b777343cd9c77 100644 (file)
@@ -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
@@ -93,7 +93,4 @@ sha1_final(u8 hash[SHA1_HASH_SIZE], SHA_CTX *ctx);
 
 #endif /* !WITH_LIBCRYPTO */
 
-extern int
-sha1sum(const tchar *filename, u8 hash[SHA1_HASH_SIZE]);
-
 #endif /* _WIMLIB_SHA1_H */