diff options
author | Richard Levitte <levitte@openssl.org> | 2016-10-05 12:37:58 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-01-25 00:40:17 +0100 |
commit | ec2a0e60652c0e61e90dde367756c5d92cd882d3 (patch) | |
tree | 8a7e8082de6a547b7d2b5b240c2ce8304b7d5b45 /test/ssltestlib.c | |
parent | Cleanup EVP_CIPH/EP_CTRL duplicate defines (diff) | |
download | openssl-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