[gnutls-devel] GnuTLS | tls13/psk_ext_parser: simplify the iterator interface (!736)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Fri Aug 17 16:06:36 CEST 2018
New Merge Request !736
Branches: tmp-psk-ext-refactor to master
Author: Daiki Ueno
Approvers: Simon Josefsson, Nikos Mavrogiannopoulos, Dmitry Eremin-Solenikov, Hubert Kario, Tim Rühsen, Andreas Metzler, Tom, Ander Juaristi, Tomáš Mráz, Anderson Sasaki and GnuTLS devel mailing list
Since the OfferedPsks struct consists of two arrays (identities and binders), we can traverse them in parallel; that eliminates `_gnutls13_psk_ext_parser_find_binder()` and out-of-bound index checks.
## Reviewer's checklist:
* [ ] There is a test suite reasonably covering new functionality or modifications
* [ ] No obvious mistakes in the code
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/736
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel