]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix gnutls_certificate_set_trust_list() return value documentation
authorMichael Catanzaro <mcatanzaro@redhat.com>
Tue, 22 Jun 2021 19:12:09 +0000 (14:12 -0500)
committerMichael Catanzaro <mcatanzaro@redhat.com>
Tue, 22 Jun 2021 19:15:25 +0000 (14:15 -0500)
This function is documented to return an error code, but in fact it has
no return value and never fails. Fix this.

Signed-off-by: Michael Catanzaro <mcatanzaro@redhat.com>
lib/cert-cred-x509.c

index 543a1155f4e704ccdea1cc2bae6f94dda436eb7b..bbe27509c5f0ab6423e303e3e28d45a3405ab231 100644 (file)
@@ -937,8 +937,6 @@ gnutls_certificate_get_x509_crt(gnutls_certificate_credentials_t res,
  * structure and must not be deallocated. It will be automatically deallocated
  * when the @res structure is deinitialized.
  *
- * Returns: %GNUTLS_E_SUCCESS (0) on success, or a negative error code.
- *
  * Since: 3.2.2
  **/
 void