From: Nikos Mavrogiannopoulos Date: Mon, 16 Dec 2013 10:09:34 +0000 (+0100) Subject: Corrected documentation for gnutls_x509_trust_list_add_trust_* X-Git-Tag: gnutls_3_3_0pre0~445 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=338af5e51491ca94dbf04c2d77d3af6c3c05d369;p=thirdparty%2Fgnutls.git Corrected documentation for gnutls_x509_trust_list_add_trust_* --- diff --git a/lib/x509/verify-high2.c b/lib/x509/verify-high2.c index 5af5e67cdc..36ee214c4a 100644 --- a/lib/x509/verify-high2.c +++ b/lib/x509/verify-high2.c @@ -113,10 +113,10 @@ gnutls_x509_trust_list_add_trust_mem(gnutls_x509_trust_list_t list, * @cas: A buffer containing a list of CAs (optional) * @type: The format of the certificates * - * This function will add the given certificate authorities - * to the trusted list. + * This function will remove the provided certificate authorities + * from the trusted list. * - * Returns: The number of added elements is returned. + * Returns: The number of removed elements is returned. * * Since: 3.1.10 **/ @@ -329,8 +329,8 @@ gnutls_x509_trust_list_add_trust_file(gnutls_x509_trust_list_t list, * @ca_file: A file containing a list of CAs * @type: The format of the certificates * - * This function will add the given certificate authorities - * to the trusted list. pkcs11 URLs are also accepted, instead + * This function will remove the given certificate authorities + * from the trusted list. pkcs11 URLs are also accepted, instead * of files, by this function. * * Returns: The number of added elements is returned.