return s[length] != '\0';
}
-#define ISWHITE(c) ((c) == ' ' || (c) == '\t')
-
/* Given a file name, S of length S_LEN, that is not NUL-terminated,
modify it in place, performing the equivalent of this sed substitution:
's/\\n/\n/g;s/\\r/\r/g;s/\\\\/\\/g' i.e., replacing each "\\n" string
s[i++] = '\0';
- while (ISWHITE (s[i]))
+ while (c_isblank (s[i]))
i++;
if (s[i] != '=')
i++;
- while (ISWHITE (s[i]))
+ while (c_isblank (s[i]))
i++;
*digest = (unsigned char *) &s[i];
size_t i = 0;
/* Find end of tag */
- while (i <= max_tag_len && s[i] && ! ISWHITE (s[i])
+ while (i <= max_tag_len && s[i] && ! c_isblank (s[i])
&& s[i] != '-' && s[i] != '(')
++i;
size_t algo_name_len;
size_t i = 0;
- while (ISWHITE (s[i]))
+ while (c_isblank (s[i]))
++i;
if (s[i] == '\\')
/* This field must be the hexadecimal or base64 representation
of the message digest. */
- while (s[i] && !ISWHITE (s[i]))
+ while (s[i] && !c_isblank (s[i]))
i++;
/* The digest must be followed by at least one whitespace character. */