[gnutls-devel] GnuTLS | Rework TLS handshake state machine (#1063)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Aug 13 18:27:50 CEST 2020



Daiki Ueno created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1063



The current implementation of the TLS handshake state machine consists of huge chunks of `switch` statements. This is making it difficult to enhance the code, in particular when any corner case handling is needed.

It would be helpful if that part is rewritten using the [State pattern](https://en.wikipedia.org/wiki/State_pattern) or alike.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1063
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/20200813/6e5828bc/attachment.html>


More information about the Gnutls-devel mailing list