diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-11-01 08:46:00 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-11-01 08:46:00 +0000 |
commit | 293a4d836d5ae8a0cd85b3a5d7b211ed288419b7 (patch) | |
tree | 758e1e827f90e6a1c1bfd00e8132bf1e5927b923 /lib/x509/compat.c | |
parent | c6c720e031ba3cf3e6b2d68644e1dc4cc69435a9 (diff) | |
download | gnutls-293a4d836d5ae8a0cd85b3a5d7b211ed288419b7.tar.gz |
* Several changes in certificate and key verification.
* GNUTLS_CERT_NOT_TRUSTED was replaced by GNUTLS_CERT_INVALID, to avoid
having two flags for the same thing.
* Updated documentation for openpgp key verification.
* The prime tool was combined with the certtool.
Diffstat (limited to 'lib/x509/compat.c')
-rw-r--r-- | lib/x509/compat.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/x509/compat.c b/lib/x509/compat.c index 1d682c6b1b..1ee676e693 100644 --- a/lib/x509/compat.c +++ b/lib/x509/compat.c @@ -515,12 +515,9 @@ int gnutls_x509_extract_certificate_dn_string(char *buf, unsigned int sizeof_buf * The return value (status) should be one or more of the gnutls_certificate_status * enumerated elements bitwise or'd. * - * GNUTLS_CERT_NOT_TRUSTED\: the peer's certificate is not trusted. + * GNUTLS_CERT_INVALID\: the peer's certificate is not valid. * - * GNUTLS_CERT_INVALID\: the certificate chain is broken. - * - * GNUTLS_CERT_REVOKED\: the certificate has been revoked - * (not implemented yet). + * GNUTLS_CERT_REVOKED\: the certificate has been revoked. * * A negative error code is returned in case of an error. * GNUTLS_E_NO_CERTIFICATE_FOUND is returned to indicate that |