Skip to content
Commit 3e8e688f authored by Rich Salz's avatar Rich Salz Committed by Rich Salz
Browse files

Replace switch/assignments with table lookup



Typedef STRINT_PAIR to be the same as OPT_PAIR, and use that structure and
a bunch of tables instead of switch statements to lookup various values
out of the SSL/TLS message buffers.  Shrinks a bunch of code.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent ac38115c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment