[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:37:17 CET 2020




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

>  			   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`. It would be easier to use `GNUTLS_HANDSHAKE_ANY` here. BTW: shouldn't we include it into `gnutls_handshake_description_t` enum?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1151#note_277956388
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/7707c73a/attachment.html>


More information about the Gnutls-devel mailing list