[gnutls-devel] GnuTLS | handshake: defer setting downgrade sentinel until version is selected (!918)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Feb 21 19:42:27 CET 2019

Nikos Mavrogiannopoulos started a new discussion on lib/ext/supported_versions.c:

>  				_gnutls_handshake_log("EXT[%p]: Negotiated version: %d.%d\n",
>  						      session, (int)major, (int)minor);
> +				/* regenerate the random value to set

The only drawback is that we generate the random bytes twice... but other than that it is quite clean. LGTM

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/918#note_143766249
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/20190221/8dcdf74f/attachment.html>

More information about the Gnutls-devel mailing list