summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-07-16 18:14:38 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-07-16 18:14:38 +0000
commit961e337099bc1438a14bc62964633048ca8e3cc0 (patch)
tree2766f6558310ed4f77dd57e84f5db187a839b9b1 /regress/lib
parentd14ad493bcf28431b3f52e49c4b4882e42e2ad2d (diff)
Start rewriting TLS extension handling.
Introduce a TLS extension handling framework that has per-extension type functions to determine if an extension is needed, to build the extension data and parse the extension data. This is somewhat analogous to BoringSSL, however these build and parse functions are intentionally symetrical. The framework is hooked into the existing TLS handling code in such a way that we can gradual convert the extension handling code. Convert the TLS Server Name Indication extension to the new framework, while rewriting it to use CBB/CBS and be more strict in the process. Discussed with beck@ ok inoguchi@
Diffstat (limited to 'regress/lib')
0 files changed, 0 insertions, 0 deletions