[gnutls-devel] GnuTLS | WIP: AIA callback to retrieve missing chain certificates (!1262)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed May 27 22:49:06 CEST 2020




Sahana Prasad commented on a discussion on lib/cert-cred.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1262#note_350338522

> + * certificate verification procedure in verify_crt().
> + * To verify or obtain the certificate the verification functions such as
> + * gnutls_x509_trust_list_verify_crt() and gnutls_x509_trust_list_verify_crt2()
> + * can be used.
> + *
> + * The callback function should return 0 if the missing issuer certificate
> + * for 'crt' was properly polulated in 'issuer' or non-zero to continue
> + * the certificate list verification but with issuer as NULL.
> + *
> + * Since: 3.6.14
> + **/
> +void gnutls_trust_list_set_getissuer_function
> +    (gnutls_x509_trust_list_t tlist, void *priv,
> +     gnutls_trust_list_getissuer_function * func)
> +{
> +    tlist->issuer_callback = func;

yeah, I usually use tab.
But other functions in this file were indented like this,
see gnutls_certificate_set_retrieve_function, gnutls_certificate_set_retrieve_function2, and gnutls_certificate_set_retrieve_function3

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1262#note_350338522
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200527/660784ad/attachment.html>


More information about the Gnutls-devel mailing list