X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fsha1.c;h=5af92568a4be3b20eb77cbfbc3694a95aaf5383b;hp=05c4ab890bd31baca310a4171abf95f6db19938e;hb=1530b6dab02a9e1e5faf81529ab502aee68d8cd2;hpb=cd2de42ba19336e138abdaa2f4e1bdcb4242af71 diff --git a/src/sha1.c b/src/sha1.c index 05c4ab89..5af92568 100644 --- a/src/sha1.c +++ b/src/sha1.c @@ -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;