[openssl-dev] State machine rewrite
John Foley (foleyj)
foleyj at cisco.com
Fri Sep 11 22:56:08 UTC 2015
Here's another trivial example if that URL still isn't working for you:
johnsantic.com/comp/<http://johnsantic.com/comp/>state.html
On Sep 11, 2015, at 5:46 PM, Daniel Kahn Gillmor <dkg at fifthhorseman.net<mailto:dkg at fifthhorseman.net>> wrote:
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20150911/4582705c/attachment.html>
More information about the openssl-dev
mailing list