summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/libgcrypt-1.4.6/cipher/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/libgcrypt-1.4.6/cipher/sha1.c')
-rw-r--r--plugins/MirOTR/libgcrypt-1.4.6/cipher/sha1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirOTR/libgcrypt-1.4.6/cipher/sha1.c b/plugins/MirOTR/libgcrypt-1.4.6/cipher/sha1.c
index c7f697c7bb..8862c64b0a 100644
--- a/plugins/MirOTR/libgcrypt-1.4.6/cipher/sha1.c
+++ b/plugins/MirOTR/libgcrypt-1.4.6/cipher/sha1.c
@@ -300,7 +300,7 @@ sha1_final(void *context)
msb = t >> 26;
/* add the count */
t = lsb;
- if ( (lsb += hd->count) < t )
+ if( (lsb += hd->count) < t )
msb++;
/* multiply by 8 to make a bit count */
t = lsb;
@@ -308,7 +308,7 @@ sha1_final(void *context)
msb <<= 3;
msb |= t >> 29;
- if ( hd->count < 56 ) /* enough room */
+ if( hd->count < 56 ) /* enough room */
{
hd->buf[hd->count++] = 0x80; /* pad */
while( hd->count < 56 )