Make sure to use unsigned char for is*() functions
[openssl.git] / apps / ca.c
index 9a1b69f68d6cb9ab80a964b8ea0f909c13dd36c5..716df02fac998448ba7f426ad09e050273fcd231 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -731,7 +731,7 @@ end_of_options:
             goto end;
         }
         for ( ; *p; p++) {
-            if (!isxdigit(*p)) {
+            if (!isxdigit(_UC(*p))) {
                 BIO_printf(bio_err,
                            "entry %d: bad char 0%o '%c' in serial number\n",
                            i + 1, *p, *p);