summaryrefslogtreecommitdiffstats
path: root/test/ssltestlib.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-10-05 12:37:58 +0200
committerRichard Levitte <levitte@openssl.org>2017-01-25 00:40:17 +0100
commitec2a0e60652c0e61e90dde367756c5d92cd882d3 (patch)
tree8a7e8082de6a547b7d2b5b240c2ce8304b7d5b45 /test/ssltestlib.c
parentCleanup EVP_CIPH/EP_CTRL duplicate defines (diff)
downloadopenssl-ec2a0e60652c0e61e90dde367756c5d92cd882d3.tar.xz
openssl-ec2a0e60652c0e61e90dde367756c5d92cd882d3.zip
s_client: Better response success check for CONNECT
Instead of looking for "200" and "established" (and failing all other 2xx responses or "Established"), let's look for a line that's not a header (i.e. doesn't contain a ':') and where the first space is followed by a '2'. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1664)
Diffstat (limited to 'test/ssltestlib.c')
0 files changed, 0 insertions, 0 deletions