summaryrefslogtreecommitdiff
path: root/lib/x509/verify.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2005-03-08 11:25:41 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2005-03-08 11:25:41 +0000
commit5f729c845c3563415c3d1f3ba9402596a3c9aa53 (patch)
tree9813b96996c7a24d9914f4e7558a65228b1586af /lib/x509/verify.c
parent9c4ec351b7cde7e6a367f46b13eebdc100db6e49 (diff)
downloadgnutls-5f729c845c3563415c3d1f3ba9402596a3c9aa53.tar.gz
some doc fixes.
Diffstat (limited to 'lib/x509/verify.c')
-rw-r--r--lib/x509/verify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/x509/verify.c b/lib/x509/verify.c
index 6278f82279..40f5431412 100644
--- a/lib/x509/verify.c
+++ b/lib/x509/verify.c
@@ -321,7 +321,7 @@ unsigned int _gnutls_x509_verify_certificate(
/* Verify the last certificate in the certificate path
* against the trusted CA certificate list.
*
- * If no CAs are present returns INVALID. Thus works
+ * If no CAs are present returns CERT_INVALID. Thus works
* in self signed etc certificates.
*/
ret =
@@ -650,9 +650,9 @@ int _gnutls_x509_privkey_verify_signature(const gnutls_datum_t * tbs,
* For a more detailed verification status use gnutls_x509_crt_verify() per list
* element.
*
- * GNUTLS_CERT_INVALID\: the certificate chain is not valid.
+ * GNUTLS_CERT_INVALID: the certificate chain is not valid.
*
- * GNUTLS_CERT_REVOKED\: a certificate in the chain has been revoked.
+ * GNUTLS_CERT_REVOKED: a certificate in the chain has been revoked.
*
* Returns 0 on success and a negative value in case of an error.
*