]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Corrected documentation for gnutls_certificate_set_x509_trust.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 7 Sep 2011 21:31:43 +0000 (23:31 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 7 Sep 2011 21:31:47 +0000 (23:31 +0200)
Reported by Stephen Lynch.

lib/gnutls_x509.c

index b3367951c8056eaa18fc64558f1bdb8949fe5740..1d4ed530103f1258107f439ba46d39e3c09911f7 100644 (file)
@@ -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
  **/