CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2018/08/27 10:42:48
Modified files: lib/libssl : ssl_asn1.c ssl_locl.h ssl_srvr.c Log message: 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@