[gnutls-devel] GnuTLS | lib: drop gnutls_uint64 usage as sequence number (!1102)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Oct 23 11:10:38 CEST 2019




Nikos Mavrogiannopoulos commented on a discussion on lib/dtls.c: https://gitlab.com/gnutls/gnutls/merge_requests/1102#note_234341248

>  	if (ret < 0)
>  		return;
>  
> -	params->write.sequence_number.i[7] = prestate->record_seq;
> +	params->write.sequence_number = prestate->record_seq;

I do not remember the intention, however I can speculate that because the prestate will be a small number this assignment is done that way, to save unnecessary assignments.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1102#note_234341248
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/20191023/65f4af79/attachment.html>


More information about the Gnutls-devel mailing list