diff options
author | 2018-08-27 16:42:48 +0000 | |
---|---|---|
committer | 2018-08-27 16:42:48 +0000 | |
commit | 12fe7be032d9773f215e29e6d37815f9da949ef4 (patch) | |
tree | 33fcf1260ddbe801064b1a3132062a275bf19662 /lib/libssl/s3_lib.c | |
parent | Rename struct kd -> kcov_dev. The terse name was initially fine since it wasn't (diff) | |
download | wireguard-openbsd-12fe7be032d9773f215e29e6d37815f9da949ef4.tar.xz wireguard-openbsd-12fe7be032d9773f215e29e6d37815f9da949ef4.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 'lib/libssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions