From: Nikos Mavrogiannopoulos Date: Wed, 31 Oct 2012 21:51:26 +0000 (+0100) Subject: better doc X-Git-Tag: gnutls_3_1_4~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3c917c6f2fa6e665dca3eb6d26b7e6f4ad77b30;p=thirdparty%2Fgnutls.git better doc --- diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c index 5bb20f1b1d..b4a1e20b73 100644 --- a/lib/gnutls_cert.c +++ b/lib/gnutls_cert.c @@ -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.