projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix ctype arguments.
[openssl.git]
/
test
/
testutil
/
stanza.c
diff --git
a/test/testutil/stanza.c
b/test/testutil/stanza.c
index 35967528f8312c4c918175a6d3f6d2a558b55b4d..09fc18108079194f0a70d347095b081012bada95 100644
(file)
--- a/
test/testutil/stanza.c
+++ b/
test/testutil/stanza.c
@@
-70,12
+70,12
@@
static char *strip_spaces(char *p)
char *q;
/* Skip over leading spaces */
char *q;
/* Skip over leading spaces */
- while (*p && isspace(*p))
+ while (*p && isspace(
(unsigned char)
*p))
p++;
if (!*p)
return NULL;
p++;
if (!*p)
return NULL;
- for (q = p + strlen(p) - 1; q != p && isspace(*q); )
+ for (q = p + strlen(p) - 1; q != p && isspace(
(unsigned char)
*q); )
*q-- = '\0';
return *p ? p : NULL;
}
*q-- = '\0';
return *p ? p : NULL;
}