]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
better doc
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 31 Oct 2012 21:51:26 +0000 (22:51 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 31 Oct 2012 21:51:26 +0000 (22:51 +0100)
lib/gnutls_cert.c

index 5bb20f1b1d54e9dd6eb70fdf563531d003bcaf0d..b4a1e20b73cfd502d21411248b61b9e2da3baf7a 100644 (file)
@@ -645,8 +645,8 @@ _gnutls_openpgp_crt_verify_peers (gnutls_session_t session,
  * This function will verify the peer's certificate and return
  * its status (trusted, invalid etc.).  The value of @status will
  * be one or more of the gnutls_certificate_status_t flags
- * bitwise or'd. Note that verification failure does not imply a
- * negative return value. Only the @status is updated.
+ * bitwise or'd or zero if the certificate is trusted. Note that verification 
+ * does not imply a negative return value. Only the @status is updated.
  *
  * If available the OCSP Certificate Status extension will be
  * utilized by this function.
@@ -699,8 +699,8 @@ gnutls_certificate_verify_peers2 (gnutls_session_t session,
  * This function will verify the peer's certificate and its name and 
  * return its status (trusted, invalid etc.).  The value of @status will
  * be one or more of the gnutls_certificate_status_t flags
- * bitwise or'd. Note that verification failure does not imply a
- * negative return value. Only the @status is updated.
+ * bitwise or'd or zero if the certificate is trusted. Note that verification 
+ * failure does not imply a negative return value. Only the @status is updated.
  *
  * In case the @hostname does not match the %GNUTLS_CERT_UNEXPECTED_OWNER
  * status flag will be set.