]> git.ipfire.org Git - thirdparty/squid.git/commit
Finalized BinaryTokenizer context handling. Polished.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 2 May 2016 16:38:05 +0000 (10:38 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 2 May 2016 16:38:05 +0000 (10:38 -0600)
commita804b6fe5d810d415289226ad10ef80289e83062
tree96ea39e953e1138efacfb46f29f6fd8cda270b55
parent793b1bfb48e5bd84205414497c7680c22ce0087b
Finalized BinaryTokenizer context handling. Polished.

No more funny context fields inside TLS structures. Context is handled
by the parsing code without needlessly storing it long-term.

Hid TLS structures/parsers used exclusively by
Security::HandshakeParser inside security/Handshake.cc to simplify API.

Also skipped unused ServerHello.random (instead of storing it in
TlsDetails::clientRandom) and replaced SQUID_TLS_RANDOM_SIZE macro
with a regular C++ constant.
src/parser/BinaryTokenizer.cc
src/parser/BinaryTokenizer.h
src/security/Handshake.cc
src/security/Handshake.h