diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-01-25 19:54:15 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-01-25 19:58:37 +0100 |
commit | 17e7ed7369103167855a8392e32721542f3e01c8 (patch) | |
tree | 5a9eb706068f74775682fe1d044243d84ed64605 /lib/x509/pkcs12_encr.c | |
parent | f6998532f146b68c462a20d46a0533ed261db238 (diff) | |
download | gnutls-17e7ed7369103167855a8392e32721542f3e01c8.tar.gz |
use the non-locale dependent versions of isxxx functions.
Diffstat (limited to 'lib/x509/pkcs12_encr.c')
-rw-r--r-- | lib/x509/pkcs12_encr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/x509/pkcs12_encr.c b/lib/x509/pkcs12_encr.c index ba4e39e98c..9f26a3130a 100644 --- a/lib/x509/pkcs12_encr.c +++ b/lib/x509/pkcs12_encr.c @@ -24,6 +24,7 @@ #include <gnutls_mpi.h> #include <gnutls_errors.h> #include <x509_int.h> +#include <c-ctype.h> /* Returns 0 if the password is ok, or a negative error * code instead. @@ -35,7 +36,7 @@ _pkcs12_check_pass (const char *pass, size_t plen) for (i = 0; i < plen; i++) { - if (isascii (pass[i])) + if (c_isascii (pass[i])) continue; return GNUTLS_E_INVALID_PASSWORD; } |