[gnutls-devel] GnuTLS | Certificate type handling improvements (!1394)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Fri Feb 26 15:53:23 CET 2021
Tom commented on a discussion on lib/ext/server_cert_type.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1394#note_518141213
> * structure of the code here.
> */
> for (i = 0; i < cert_priorities->num_priorities; i++) {
> - if (_gnutls_session_cert_type_supported
> - (session, cert_priorities->priorities[i],
> - false, GNUTLS_CTYPE_SERVER) == 0) {
> +
> + cert_type = cert_priorities->priorities[i];
> +
> + if (_gnutls_session_cert_type_supported(session, cert_type,
You are right. It was a rewrite from a function Nikos once made. Back then all functions returned an integer. I will update it to return a bool.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1394#note_518141213
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/20210226/c07bedac/attachment.html>
More information about the Gnutls-devel
mailing list