[gnutls-devel] GnuTLS | add support for 0-RTT (!775)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Oct 29 13:51:23 CET 2018


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

>  		return _tls13_update_keys(session, stage,
>  					  params, iv_size, key_size);
>  
> +	if (stage == STAGE_EARLY)
> +		return _tls13_set_early_keys(session,
> +					     params, iv_size, key_size);
> +

doesn't it make sense to combine these two blocks with if then else? E.g,
```
if (stage == STAGE_EARLY)
  ...
else if (stage == ...)
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/775#note_112778655
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/20181029/b64aec90/attachment.html>


More information about the Gnutls-devel mailing list