summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-29 15:59:27 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-29 15:59:27 +0000
commit873151e92968746615741afd40322f60f4f2850f (patch)
treeff5f7e78ce1d72d605a7b925aadfbc0b5043a102
parentea873e79c4e7b459ebaa41e8a0c8248de6f9e527 (diff)
downloadgnutls-873151e92968746615741afd40322f60f4f2850f.tar.gz
*** empty log message ***
-rw-r--r--lib/gnutls.h.in.in1
-rw-r--r--lib/x509/rfc2818_hostname.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls.h.in.in b/lib/gnutls.h.in.in
index 05f38c3071..8cbfb749c9 100644
--- a/lib/gnutls.h.in.in
+++ b/lib/gnutls.h.in.in
@@ -122,7 +122,6 @@ typedef enum gnutls_handshake_description { GNUTLS_HANDSHAKE_HELLO_REQUEST,
/* Note that the status bits have different meanings
* in openpgp keys and x.509 certificate verification.
*/
-#define GNUTLS_CERT_NOT_TRUSTED GNUTLS_CERT_INVALID
typedef enum gnutls_certificate_status {
GNUTLS_CERT_INVALID=2, /* will be set if the certificate
* was not verified.
diff --git a/lib/x509/rfc2818_hostname.c b/lib/x509/rfc2818_hostname.c
index bd3d7c5713..f5985f06ed 100644
--- a/lib/x509/rfc2818_hostname.c
+++ b/lib/x509/rfc2818_hostname.c
@@ -73,7 +73,8 @@ int _gnutls_hostname_compare(const char *certname, const char *hostname)
*
* This function will check if the given certificate's subject matches
* the given hostname. This is a basic implementation of the matching
- * described in RFC2818 (HTTPS), which takes into account wildcards.
+ * described in RFC2818 (HTTPS), which takes into account wildcards,
+ * and the subject alternative name PKIX extension.
*
* Returns non zero on success, and zero on failure.
*