diff options
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/md5sum.c | 10 | ||||
-rw-r--r-- | coreutils/uuencode.c | 3 |
2 files changed, 7 insertions, 6 deletions
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c index 83c769e..f5be448 100644 --- a/coreutils/md5sum.c +++ b/coreutils/md5sum.c @@ -434,7 +434,7 @@ static void md5_process_block(const void *buffer, size_t len, struct md5_ctx *ct temp += FI(B,C,D); } temp += cwp[(int)(*pp++)] + *pc++; - temp = CYCLIC (temp, ps[i&3]); + CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } @@ -443,7 +443,7 @@ static void md5_process_block(const void *buffer, size_t len, struct md5_ctx *ct for ( i = 0 ; i < 16 ; i++ ) { temp = A + FF(B,C,D) + cwp[(int)(*pp++)] + *pc++; - temp = CYCLIC (temp, ps[i&3]); + CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } @@ -451,21 +451,21 @@ static void md5_process_block(const void *buffer, size_t len, struct md5_ctx *ct ps += 4; for ( i = 0 ; i < 16 ; i++ ) { temp = A + FG(B,C,D) + cwp[(int)(*pp++)] + *pc++; - temp = CYCLIC (temp, ps[i&3]); + CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } ps += 4; for ( i = 0 ; i < 16 ; i++ ) { temp = A + FH(B,C,D) + cwp[(int)(*pp++)] + *pc++; - temp = CYCLIC (temp, ps[i&3]); + CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } ps += 4; for ( i = 0 ; i < 16 ; i++ ) { temp = A + FI(B,C,D) + cwp[(int)(*pp++)] + *pc++; - temp = CYCLIC (temp, ps[i&3]); + CYCLIC (temp, ps[i&3]); temp += B; A = D; D = C; C = B; B = temp; } diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index 24b9f1c..1d42494 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c @@ -21,6 +21,7 @@ */ #include <getopt.h> #include <stdio.h> +#include <string.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> @@ -49,7 +50,7 @@ static char tbl_std[65] = { 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[', '\\', ']', '^', '_', - '\`' /* termination character */ + '`' /* termination character */ }; /* |