summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-09-17 20:00:13 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-09-17 20:00:13 +0000
commit753a8509891d8828de03fa643aa57ea664ac4562 (patch)
tree89babccf0cf4a8234893d29168bb1ca54014460d /includes
parenta34d39b976b1e660f38f247ba211243cee090a06 (diff)
downloadgnutls-753a8509891d8828de03fa643aa57ea664ac4562.tar.gz
Added a hostname check with the certificate in the gnutls-cli.
Diffstat (limited to 'includes')
-rw-r--r--includes/gnutls/x509.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h
index 7d848deb46..3ad5275b5a 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -61,6 +61,8 @@ int gnutls_x509_crt_get_dn(gnutls_x509_crt cert, char *buf,
int *sizeof_buf);
int gnutls_x509_crt_get_dn_by_oid(gnutls_x509_crt cert,
const char* oid, int indx, char *buf, int *sizeof_buf);
+int gnutls_x509_crt_check_hostname(gnutls_x509_crt cert,
+ const char *hostname);
int gnutls_x509_crt_get_signature_algorithm(gnutls_x509_crt cert);
int gnutls_x509_crt_get_version(gnutls_x509_crt cert);