diff options
author | Jack Lloyd <[email protected]> | 2016-01-06 13:40:23 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-01-06 13:40:23 -0500 |
commit | 805c391817f22681ca9f09d7b04475f7cd9d34e7 (patch) | |
tree | b28acc55a3c8689430a1acc273e0889385b99935 /src/cli | |
parent | ac5ae9a7a28b664d86b79cf85a6708c9f8b9a0fd (diff) |
Precompile the list of TLS ciphersuites
This avoids a scan over the entire 0 - 0xFFFF space which is mostly
empty, by instead keeping a second list in tls_suite_info which is
exactly the keys for which the switch statement has values.
This scan is only ever done once (when first needed) but removing it
is sufficient to increase AFL's throuhput by 4x since it goes through
a full startup on each test.
Diffstat (limited to 'src/cli')
0 files changed, 0 insertions, 0 deletions