]> git.ipfire.org Git - thirdparty/squid.git/commit
Security::HandshakeParser::parseServerCertificates builds cert list with nils (#42)
authorChristos Tsantilas <christos@chtsanti.net>
Fri, 11 Aug 2017 15:19:13 +0000 (18:19 +0300)
committerGitHub <noreply@github.com>
Fri, 11 Aug 2017 15:19:13 +0000 (18:19 +0300)
commit46cd263a7f725a6a682404c3fdadcaefbe1c981e
tree92bb869f2c8db5762e94ec7f0eed054ad5c5fb6d
parent34492237c9b81ce62b6fc44fa5d5621686934d1d
Security::HandshakeParser::parseServerCertificates builds cert list with nils (#42)

... if squid does not compiled with OpenSSL support.
This patch fixes:
  * HandshakeParser::ParseCertificate() to return a Security::Pointer
  * HandshakeParser:: parseServerCertificates() to be a no-op if OpenSSL is
    not used
  * Fix compile error if squid compiled without openssl but with gnutls enabled

This is a Measurement Factory project
src/security/Handshake.cc
src/security/Handshake.h