[gnutls-devel] GnuTLS | Datum.c cleanup (!1002)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri May 24 16:46:24 CEST 2019




Nikos Mavrogiannopoulos started a new discussion on lib/session.c: https://gitlab.com/gnutls/gnutls/merge_requests/1002#note_174268443

>  
>  	if (session->internals.resumption_data.data != NULL)
>  		gnutls_free(session->internals.resumption_data.data);
> -	_gnutls_set_datum(&session->internals.resumption_data, session_data, session_data_size);
> +	ret = _gnutls_set_datum(&session->internals.resumption_data, session_data, session_data_size);

That's a behavioral change, but may be ok. This makes setting the session resumption data mandatory (i.e., this function will fail if allocation will fail).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1002#note_174268443
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/20190524/3f9d6c7d/attachment.html>


More information about the Gnutls-devel mailing list