diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-12-16 11:09:34 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-12-16 13:10:52 +0100 |
commit | a851d9b1113591cedaac8adb92a0127b361f0198 (patch) | |
tree | 4e817b07227209c163fad3867546838f1ea2ec2f | |
parent | d3063220f09d3d661345df12fb153db9f41c79f3 (diff) | |
download | gnutls-a851d9b1113591cedaac8adb92a0127b361f0198.tar.gz |
Corrected documentation for gnutls_x509_trust_list_add_trust_*
-rw-r--r-- | lib/x509/verify-high2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/x509/verify-high2.c b/lib/x509/verify-high2.c index 7408e54f39..2b29cfd2a4 100644 --- a/lib/x509/verify-high2.c +++ b/lib/x509/verify-high2.c @@ -105,10 +105,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 **/ @@ -310,8 +310,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. |