diff options
Diffstat (limited to 'crypto/bn/bn_print.c')
-rw-r--r-- | crypto/bn/bn_print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bn/bn_print.c b/crypto/bn/bn_print.c index 9f849978d8..bfbaf5c33e 100644 --- a/crypto/bn/bn_print.c +++ b/crypto/bn/bn_print.c @@ -8,7 +8,7 @@ */ #include <stdio.h> -#include <ctype.h> +#include "internal/ctype.h" #include <limits.h> #include "internal/cryptlib.h" #include <openssl/buffer.h> @@ -138,7 +138,7 @@ int BN_hex2bn(BIGNUM **bn, const char *a) a++; } - for (i = 0; i <= (INT_MAX/4) && isxdigit((unsigned char)a[i]); i++) + for (i = 0; i <= (INT_MAX/4) && ossl_isxdigit(a[i]); i++) continue; if (i == 0 || i > INT_MAX/4) @@ -210,7 +210,7 @@ int BN_dec2bn(BIGNUM **bn, const char *a) a++; } - for (i = 0; i <= (INT_MAX/4) && isdigit((unsigned char)a[i]); i++) + for (i = 0; i <= (INT_MAX/4) && ossl_isdigit(a[i]); i++) continue; if (i == 0 || i > INT_MAX/4) |