Documentation correction for GnuTLS 3

Stephen Lynch stephen.lynch at
Wed Sep 7 10:57:53 CEST 2011

The documentation for the function gnutls_certificate_set_x509_trust
states that it returns "GNUTLS_E_SUCCESS (0) on success, or a negative
error code."

It actually returns the return value of gnutls_x509_trust_list_add_cas
on success. According to the docs "The number of added elements is
returned. ".


Stephen Lynch

stephen.lynch at

Smoothwall Ltd
1 John Charles Way, Leeds, LS12 6QA United Kingdom
Telephone:  USA: 1 800 959 3760  Europe: +44 (0) 8701 999500

Smoothwall Limited is registered in England, Company Number: 4298247.
This email and any attachments transmitted with it are confidential to
the intended recipient(s) and may not be communicated to any other
person or published by any means without the permission of Smoothwall
Limited.  Any opinions stated in this message are solely those of the

More information about the Gnutls-devel mailing list