diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-10-31 22:51:26 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-10-31 22:51:26 +0100 |
commit | d3c917c6f2fa6e665dca3eb6d26b7e6f4ad77b30 (patch) | |
tree | 3cf03f86065ddc0fdef43b0572af91d3071cfa28 /lib/gnutls_cert.c | |
parent | 083067e630498f274608fa67308cb7dda816ac18 (diff) | |
download | gnutls-d3c917c6f2fa6e665dca3eb6d26b7e6f4ad77b30.tar.gz |
better doc
Diffstat (limited to 'lib/gnutls_cert.c')
-rw-r--r-- | lib/gnutls_cert.c | 8 |
1 files changed, 4 insertions, 4 deletions
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. |