summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorjsing <>2017-07-16 18:14:37 +0000
committerjsing <>2017-07-16 18:14:37 +0000
commit231770c97badca4c3da92986469ccbd7bf13471d (patch)
treed9fc4f0686256f704a616fd78164deb16cbfba14 /src/lib/libc
parent78c8f5de9ccfc2a6133cb7cb00d67a257d2d4f46 (diff)
downloadopenbsd-231770c97badca4c3da92986469ccbd7bf13471d.tar.gz
openbsd-231770c97badca4c3da92986469ccbd7bf13471d.tar.bz2
openbsd-231770c97badca4c3da92986469ccbd7bf13471d.zip
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 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions