[gnutls-devel] GnuTLS | server auth: disable TLS 1.3 if no signature algorithm is usable (!987)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Mon May 20 08:30:11 CEST 2019
Nikos Mavrogiannopoulos started a new discussion on lib/auth.c: https://gitlab.com/gnutls/gnutls/merge_requests/987#note_172076709
> if (c != NULL && c->ncerts != 0) {
> for (i = 0; i < c->ncerts; i++) {
> key_usage = get_key_usage(session, c->certs[i].cert_list[0].pubkey);
> - if (key_usage == 0 || (key_usage & GNUTLS_KEY_DIGITAL_SIGNATURE)) {
> + if ((key_usage == 0 || (key_usage & GNUTLS_KEY_DIGITAL_SIGNATURE))) {
There is a double parenthesis here added, which doesn't add to logic
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/987#note_172076709
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/20190520/45795244/attachment.html>
More information about the Gnutls-devel
mailing list