diff options
author | Rich Salz <rsalz@akamai.com> | 2015-05-15 16:32:49 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-05-20 17:51:52 -0400 |
commit | 3e8e688f867a1ec1e554da67f111fa58a6ee1138 (patch) | |
tree | 5d7d7d54e9cc66b0f27c5aef2eec802e55203088 /crypto/objects | |
parent | ac38115c1a4fb61c66c2a8cd2a9800751828d328 (diff) |
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: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/objects')
0 files changed, 0 insertions, 0 deletions