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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri May 29 06:24:05 CEST 2020




Daiki Ueno started a new discussion on lib/cert-cred.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1262#note_351491138

>  	cred->verify_callback = func;
>  }
>  
> +/**
> + * gnutls_x509_trust_list_set_getissuer_function:
> + * @tlist: is a #gnutls_x509_trust_list_t type.
> + * @func: is the callback function
> + *
> + * This function sets a callback to be called when the peer's certificate
> + * chain is incomplete due a missing intermediate certificate/certificates.
> + *
> + * The callback's function prototype is defined in `abstract.h':
> + * int (*callback)(
> + * gnutls_x509_crt_t crt,
> + * gnutls_x509_crt_t issuer);

Would it make sense to move this (and the paragraph below starting with "The callback function should return 0") to the place where `gnutls_trust_list_getissuer_function` is defined in `abstract.h`?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1262#note_351491138
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/20200529/88b0cc8f/attachment.html>


More information about the Gnutls-devel mailing list