From ffc931dfb8829c8ae36b171d47f3230e10b67cea Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 9 Dec 2017 12:57:02 +0200 Subject: Add support for calculating SHA1 checksums --- libbutl/sha256c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbutl/sha256c.c') diff --git a/libbutl/sha256c.c b/libbutl/sha256c.c index 156751c..44873fb 100644 --- a/libbutl/sha256c.c +++ b/libbutl/sha256c.c @@ -123,10 +123,10 @@ be64enc(void *pp, uint64_t u) p[6] = (u >> 8) & 0xff; p[7] = u & 0xff; } -#endif +#endif /* __FreeBSD__ */ -/* The rest is the unmodified (except for a few explicit casts to make it - compilable in C++), latest implementation from FreeBSD. */ +/* The rest is the unmodified (except for a few explicit casts to make + compilable in C++) latest implementation from FreeBSD sys/crypto/sha2/. */ #include -- cgit v1.1