X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsha1.c;h=5af92568a4be3b20eb77cbfbc3694a95aaf5383b;hb=c9a22e5ce23d74d42e8dfd00c21928a5fb807fa7;hp=05c4ab890bd31baca310a4171abf95f6db19938e;hpb=d0e7f039e4ab206b9fd973c983e3fb841fcd2bf2;p=wimlib 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;