[gnutls-devel] GnuTLS | New CI runner with clang ubsan+asan (!1151)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Jan 28 11:34:20 CET 2020




Dmitry Baryshkov started a new discussion on lib/alert.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1151#note_277953388

>  			   data[1], name);
>  
>  	if ((ret =
> -	     _gnutls_send_int(session, GNUTLS_ALERT, -1,
> +	     _gnutls_send_int(session, GNUTLS_ALERT, (gnutls_handshake_description_t) -1,

handshake description is used here to check which version should go into record header and it should just differ from `GNUTLS_HANDSHAKE_CLIENT_HELLO`. Maybe it would be cleaner to introduce `GNUTLS_HANDSHAKE_AFTER_HANDSHAKE` or `GNUTLS_HANDSHAKE_NOT_HANDSHAKE`?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1151#note_277953388
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/20200128/481f576f/attachment-0001.html>


More information about the Gnutls-devel mailing list