diff options
-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. |