[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 09:55:34 CEST 2020




Sahana Prasad commented on a discussion on lib/includes/gnutls/abstract.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/1262#note_351584381

>      (gnutls_certificate_credentials_t cred,
>       gnutls_certificate_retrieve_function3 *func);
>  
> +typedef int gnutls_trust_list_getissuer_function(gnutls_x509_crt_t crt,
> +                                                 gnutls_x509_crt_t issuer);

I think you have interchanged crt and issuer. find_crt() returns issuer, so I kept the same name.
So I'll make it

typedef int gnutls_x509_trust_list_getissuer_function(const gnutls_x509_trust_list_t tlist,
                                                      const gnutls_x509_crt_t crt,
                                                      gnutls_x509_crt_t issuer);

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


More information about the Gnutls-devel mailing list