[gnutls-devel] GnuTLS | gnutls_priority_set: do not override the version after handshake is complete (!777)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Oct 23 21:01:41 CEST 2018
Nikos Mavrogiannopoulos commented on a discussion on lib/priority.c:
> session->internals.priorities = priority;
> gnutls_atomic_increment(&priority->usage_cnt);
>
> - /* set the current version to the first in the chain.
> - * This will be overridden later.
> - */
> + /* set the current version to the first in the chain, if that's
> + * the call before the initial handshake. This will be overridden by
> + * the handshake call. */
Indeed. It can further be simplified. Sent an updated version.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/777#note_111230752
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/20181023/dd8773d2/attachment.html>
More information about the Gnutls-devel
mailing list