This happens on systems that perform is* character classifictions as
array lookup, e.g. NetBSD.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/6584)
* Last, check that the rest of the extension is a decimal number, at
* least one digit long.
*/
- if (!isdigit(*p))
+ if (!ossl_isdigit(*p))
return 0;
- while (isdigit(*p))
+ while (ossl_isdigit(*p))
p++;
# ifdef __VMS
*/
if (*p == ';')
for (p++; *p != '\0'; p++)
- if (!isdigit(*p))
+ if (!ossl_isdigit(*p))
break;
# endif