Error in gnutls_certificate_set_x509_crl() documentation

Alexander Klauer Alexander.Klauer at itwm.fraunhofer.de
Wed Nov 14 12:51:52 CET 2012


Hi,

in

http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=blob;f=lib/gnutls_x509.c;h=b650ce7f546eb02d9dc31f1a6c236e0676c86e2c;hb=HEAD#l1849

it says "Returns: %GNUTLS_E_SUCCESS (0) on success, or a negative error 
code" when actually on success the return value of the call to 
gnutls_x509_trust_list_add_crls() in line 1878 is returned, i.e., the 
number of added items. I therefore suggest to change line 1849 to read

"Returns: number of CRLs processed or a negative error code on error."

Best regards,
Alexander

-- 
Dr. Alexander Klauer
Competence Centre for High Performance Computing

Fraunhofer-Institut für Techno-
und Wirtschaftsmathematik ITWM
Fraunhofer-Platz 1
67663 Kaiserslautern
Tel.: +49 631 31600-4335
Fax : +49 631 31600-5335
Email: Alexander.Klauer at itwm.fraunhofer.de





More information about the Gnutls-devel mailing list