]> wimlib.net Git - wimlib/blobdiff - src/sha1.c
Various code cleanups
[wimlib] / src / sha1.c
index 05c4ab890bd31baca310a4171abf95f6db19938e..5af92568a4be3b20eb77cbfbc3694a95aaf5383b 100644 (file)
@@ -222,9 +222,8 @@ static int sha1_stream(FILE *fp, u8 md[SHA1_HASH_SIZE])
 
 }
 
-/* Calculates the SHA1 message digest given the name of a file.  @md must point
- * to a buffer of length 20 bytes into which the message digest is written.
- */
+/* Calculates the SHA1 message digest of a file.  @md must point to a buffer of
+ * length 20 bytes into which the message digest is written. */
 int sha1sum(const char *filename, u8 md[SHA1_HASH_SIZE])
 {
        FILE *fp;