diff options
Diffstat (limited to 'cipher/rmd160.c')
-rw-r--r-- | cipher/rmd160.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/rmd160.c b/cipher/rmd160.c index 3fdc41cc..552cff92 100644 --- a/cipher/rmd160.c +++ b/cipher/rmd160.c @@ -414,7 +414,7 @@ rmd160_write ( void *context, const void *inbuf_arg, size_t inlen) } if( !inbuf ) return; - if( hd->count ) + if( hd->count ) { for( ; inlen && hd->count < 64; inlen-- ) hd->buf[hd->count++] = *inbuf++; @@ -467,7 +467,7 @@ rmd160_final( void *context ) RMD160_CONTEXT *hd = context; u32 t, msb, lsb; byte *p; - + rmd160_write(hd, NULL, 0); /* flush */; t = hd->nblocks; |