diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-23 14:30:48 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-23 15:02:25 +0100 |
commit | 42c5dd87faed931e6c352fa96294b3c47679f114 (patch) | |
tree | b04a6ccfb71bf4af6786e8419ba2bf33a9d36693 /lib/str.c | |
parent | 08bb4d33619dced0ecf72adbc47175a78b8789b5 (diff) | |
download | gnutls-42c5dd87faed931e6c352fa96294b3c47679f114.tar.gz |
avoid the use of c_isascii() and use c_isprint()
That latter detects correctly the printable characters we are
interested in.
Diffstat (limited to 'lib/str.c')
-rw-r--r-- | lib/str.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -722,7 +722,7 @@ _gnutls_hostname_compare(const char *certname, unsigned i; for (i=0;i<certnamesize;i++) { - if (c_isascii(certname[i]) == 0) + if (c_isprint(certname[i]) == 0) return hostname_compare_raw(certname, certnamesize, hostname); } |