diff options
Diffstat (limited to 'src/tests/asn.1/utility.c')
-rw-r--r-- | src/tests/asn.1/utility.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/asn.1/utility.c b/src/tests/asn.1/utility.c index 660161fa1..6ad2e9de8 100644 --- a/src/tests/asn.1/utility.c +++ b/src/tests/asn.1/utility.c @@ -77,9 +77,9 @@ krb5_error_code krb5_data_hex_parse(krb5_data *d, const char *s) for (lo = 0, dp = d->data, cp = s; *cp; cp++) { if (*cp < 0) return ASN1_PARSE_ERROR; - else if (isspace(*cp)) + else if (isspace((unsigned char) *cp)) continue; - else if (isxdigit(*cp)) { + else if (isxdigit((unsigned char) *cp)) { buf[0] = *cp; v = strtol(buf, NULL, 16); } else |