[openssl-dev] State machine rewrite

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Sep 11 21:45:49 UTC 2015


On Fri 2015-09-11 11:07:27 -0400, John Foley wrote:

> It's great to see improvements in the state machine along with
> consolidated handlers for TLS/DTLS.

Agreed.  Thanks for the work on this, Matt!

> Having said that, have you considered using a state transition table
> instead of long switch statements to enforce the state transition
> rules?  This would improve the maintainability of the code.  Here's a
> trivial example:
>
> http://www.gedan.net/2008/09/08/finite-state-machine-matrix-style-c-implementation/

I'm getting a 404 from this.  do you have another link?

    --dkg


More information about the openssl-dev mailing list