summaryrefslogtreecommitdiff
path: root/lib/priority.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-25 09:46:32 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:34 +0100
commit7d8edc1922112a012690bee1aa17850617ff40da (patch)
tree954ab7758a695385229eed604b4bf25badbdf89f /lib/priority.c
parent7b27ef3819cbe7874a4b6cd868e649cb3398e1a9 (diff)
downloadgnutls-7d8edc1922112a012690bee1aa17850617ff40da.tar.gz
priority: do include all the version's signature semantics
This resolves issue, which prevented handling certain types of TLS1.3-only signatures, depending on the order of enabled protocols. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/priority.c')
-rw-r--r--lib/priority.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/priority.c b/lib/priority.c
index 6e537bd8c0..63d9ebd9cb 100644
--- a/lib/priority.c
+++ b/lib/priority.c
@@ -1202,14 +1202,10 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache)
tlsmax = version_to_entry(priority_cache->protocol.priority[i]);
if (tlsmax)
tls_sig_sem |= tlsmax->tls_sig_sem;
- if (dtlsmax)
- break;
} else { /* dtls */
dtlsmax = version_to_entry(priority_cache->protocol.priority[i]);
if (dtlsmax)
tls_sig_sem |= dtlsmax->tls_sig_sem;
- if (tlsmax)
- break;
}
}