diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-02 10:51:46 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-04-02 10:51:46 +0200 |
commit | 74c840c8725d53e49fda22166df0115b8ab2bd07 (patch) | |
tree | cc7fe671f385c979fa3419095f4d3fca069974ee /lib/gnutls_str.h | |
parent | a56e3e99b12a99b70fd6cbd571d386fdfa243963 (diff) | |
download | gnutls-74c840c8725d53e49fda22166df0115b8ab2bd07.tar.gz |
Added verification flag to disable wildcard checking
This adds the verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_WILDCARDS,
and gnutls_x509_crt_check_hostname2(), gnutls_openpgp_crt_check_hostname2().
Diffstat (limited to 'lib/gnutls_str.h')
-rw-r--r-- | lib/gnutls_str.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_str.h b/lib/gnutls_str.h index d497e8d1a3..bc9d8bd66b 100644 --- a/lib/gnutls_str.h +++ b/lib/gnutls_str.h @@ -114,7 +114,7 @@ int _gnutls_hex2bin(const char *hex_data, size_t hex_size, uint8_t * bin_data, size_t * bin_size); int _gnutls_hostname_compare(const char *certname, size_t certnamesize, - const char *hostname); + const char *hostname, unsigned vflags); #define MAX_CN 256 #define MAX_DN 1024 |