[gnutls-devel] GnuTLS | When negotiating TLS1.3 enforce certificate key usage (!902)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Feb 5 15:58:48 CET 2019
Tim Rühsen started a new discussion on lib/auth.c:
> }
> }
>
> + /* sanity tests */
> + if (type == GNUTLS_CRD_CERTIFICATE) {
> + gnutls_certificate_credentials_t c = cred;
> + unsigned i;
> + bool allow_tls13 = 0;
> + unsigned key_usage;
> +
> + if (c != NULL && c->ncerts > 0) {
`ncerts` is unsigned, so `> 0` is superfluous.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/902#note_138460731
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/20190205/2830fb4a/attachment.html>
More information about the Gnutls-devel
mailing list