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;
}
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;
}
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;
}
s[i++] = '\0';
- if (s[i] != ' ' && s[i++] != '*')
+ if (s[i] != ' ' && s[i] != '*')
return FALSE;
/* All characters between the type indicator and end of line are
significant -- that includes leading and trailing white space. */
- *w = &s[i];
+ *w = &s[++i];
if (escaped_filename) {
/* Translate each `\n' string in the file name to a NEWLINE,
have_read_stdin = 1;
fp = stdin;
} else {
- fp = fopen(filename, "r");
- if (fp == NULL) {
- perror_msg("%s", filename);
+ fp = wfopen(filename, "r");
+ if (fp == NULL)
return FALSE;
}
- }
if (md5_stream(fp, md5_result)) {
perror_msg("%s", filename);
have_read_stdin = 1;
checkfile_stream = stdin;
} else {
- checkfile_stream = fopen(checkfile_name, "r");
- if (checkfile_stream == NULL) {
- perror_msg("%s", checkfile_name);
+ checkfile_stream = wfopen(checkfile_name, "r");
+ if (checkfile_stream == NULL)
return FALSE;
}
- }
line_number = 0;