]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Corrected documentation for gnutls_x509_trust_list_add_trust_*
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 16 Dec 2013 10:09:34 +0000 (11:09 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 16 Dec 2013 10:09:34 +0000 (11:09 +0100)
lib/x509/verify-high2.c

index 5af5e67cdcd8cc0a5a466802e4a9953e4c4d5fe1..36ee214c4aac9469a318896e96aa198a945c4505 100644 (file)
@@ -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.