summaryrefslogtreecommitdiff
path: root/beecrypt/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'beecrypt/sha1.c')
-rw-r--r--beecrypt/sha1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/beecrypt/sha1.c b/beecrypt/sha1.c
index 529b26ddf..4f46bc8fd 100644
--- a/beecrypt/sha1.c
+++ b/beecrypt/sha1.c
@@ -33,6 +33,7 @@
/*!\addtogroup HASH_sha1_m
* \{
+ */
/** \ingroup HASH_sha1_m
*/
@@ -206,12 +207,12 @@ int sha1Update(register sha1Param* p, const byte* data, size_t size)
mpw add[1];
mpsetw(1, add, size);
mplshift(1, add, 3);
- mpadd(1, p->length, add);
+ (void) mpadd(1, p->length, add);
#elif (MP_WBITS == 32)
mpw add[2];
mpsetw(2, add, size);
mplshift(2, add, 3);
- mpadd(2, p->length, add);
+ (void) mpadd(2, p->length, add);
#else
# error
#endif