diff options
author | jsing <> | 2018-08-27 16:42:48 +0000 |
---|---|---|
committer | jsing <> | 2018-08-27 16:42:48 +0000 |
commit | 3214e561f5d16cffff1ac02e8f9fcf7cd78bafc8 (patch) | |
tree | 71671a4717389a51b5152df1689cea13e657f8ca /src/lib/libssl/s3_lib.c | |
parent | 26a03876b975111cf08bf5fdfe07c4c8c404abaa (diff) | |
download | openbsd-3214e561f5d16cffff1ac02e8f9fcf7cd78bafc8.tar.gz openbsd-3214e561f5d16cffff1ac02e8f9fcf7cd78bafc8.tar.bz2 openbsd-3214e561f5d16cffff1ac02e8f9fcf7cd78bafc8.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