summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-09-07 23:31:43 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-09-07 23:31:47 +0200
commit1be5f996286ce2d9e8435353e5d1fd3fa1d1f22e (patch)
tree9cfe2666eff487c77837cdcd8df4ef3122e5597a
parent8f75c7bcfd1d95e511417ea3099635169a40f237 (diff)
downloadgnutls-1be5f996286ce2d9e8435353e5d1fd3fa1d1f22e.tar.gz
Corrected documentation for gnutls_certificate_set_x509_trust.
Reported by Stephen Lynch.
-rw-r--r--lib/gnutls_x509.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index b3367951c8..1d4ed53010 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -1400,7 +1400,8 @@ gnutls_certificate_set_x509_trust_mem (gnutls_certificate_credentials_t res,
* a certificate request is sent. This can be disabled using
* gnutls_certificate_send_x509_rdn_sequence().
*
- * Returns: %GNUTLS_E_SUCCESS (0) on success, or a negative error code.
+ * Returns: the number of certificates processed or a negative error code
+ * on error.
*
* Since: 2.4.0
**/