diff options
Diffstat (limited to 'libbb/sha1.c')
-rw-r--r-- | libbb/sha1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/sha1.c b/libbb/sha1.c index ea4da24..a86218b 100644 --- a/libbb/sha1.c +++ b/libbb/sha1.c @@ -6,7 +6,7 @@ * Copyright (C) 2002 Dr Brian Gladman <brg@gladman.me.uk>, Worcester, UK. * Copyright (C) 2003 Glenn L. McGrath * Copyright (C) 2003 Erik Andersen - * + * * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. * * --------------------------------------------------------------------------- @@ -172,7 +172,7 @@ void *sha1_end(void *resbuf, sha1_ctx_t *ctx) for (i = 0; i < SHA1_DIGEST_SIZE; ++i) hval[i] = (unsigned char) (ctx->hash[i >> 2] >> 8 * (~i & 3)); - + return resbuf; } |