diff options
| author | jsing <> | 2018-08-24 18:10:25 +0000 |
|---|---|---|
| committer | jsing <> | 2018-08-24 18:10:25 +0000 |
| commit | 84fe391fb9021a6be2b592ffb9543ccc421a80be (patch) | |
| tree | fabc473b718cb60026ab4e730baa46df5eaee4dc /src/lib/libc/string | |
| parent | 32564ad6b169c4d391b5303bf7ed7e516be54aca (diff) | |
| download | openbsd-84fe391fb9021a6be2b592ffb9543ccc421a80be.tar.gz openbsd-84fe391fb9021a6be2b592ffb9543ccc421a80be.tar.bz2 openbsd-84fe391fb9021a6be2b592ffb9543ccc421a80be.zip | |
Simplify session ticket parsing/handling.
The original implementation is rather crazy and means that we effectively
have two lots of code that parse a ClientHello and two lots of code that
parse TLS extensions. Partially simplify this by passing a CBS containing
the extension block through to the session handling functions, removing the
need to reimplement the ClientHello parsing.
While here standarise on naming for session_id and session_id_len.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libc/string')
0 files changed, 0 insertions, 0 deletions
