]> git.ipfire.org Git - thirdparty/squid.git/commit
Initialize options= in all cases
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 17 Jan 2017 04:31:41 +0000 (17:31 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 17 Jan 2017 04:31:41 +0000 (17:31 +1300)
commitd7208dbcade1491d905467cc36f04513bd660404
treee02850958ba5b04fb0360858b5eb55ecb7e85af0
parent03e0e0e4c72cbaafe1bdbae425ac1c3aaee4f08c
Initialize options= in all cases

Since we now have long and ptr in different builds we cannot rely on the
default constructor always being correct.

Adjust the parseOptions() method to handle empty options= silently for
OpenSSL buidls (like GnutTLS builds did already) and use it to initialize
the parsedOptions member.
src/security/PeerOptions.cc
src/security/PeerOptions.h