diff options
author | jsing <> | 2018-08-27 16:42:48 +0000 |
---|---|---|
committer | jsing <> | 2018-08-27 16:42:48 +0000 |
commit | 8007465805b60ee08ec66aa02d3525e1a058629c (patch) | |
tree | 71671a4717389a51b5152df1689cea13e657f8ca /src/lib/libssl/s3_lib.c | |
parent | efb4b7d294563bb79e9a64739754b78928308802 (diff) | |
download | openbsd-8007465805b60ee08ec66aa02d3525e1a058629c.tar.gz openbsd-8007465805b60ee08ec66aa02d3525e1a058629c.tar.bz2 openbsd-8007465805b60ee08ec66aa02d3525e1a058629c.zip |
Simplify new session ticket encoding/generation.
The original code did a crazy encode/malloc/encode/decode/modify/encode
dance, in order to encode a session in the form needed to encrypt then add
to a session ticket. By modifying the encoding functions slightly, we can
do this entire dance as a single encode.
Inspired by similar changes in BoringSSL.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions