Vita Batrla 802cacf34f s_client -proxy / -starttls shouldn't be mutually exclusive
The option -proxy of openssl s_client works fine. The option
-starttls also works fine. However, try putting both of them
on command line. It breaks, these options don't work together.

The problem is that -proxy option is implemented using starttls_proto
(the option parsing code sets it to PROTO_CONNECT) and -starttls option
overwrites the same variable again based on argument value.

The suggested fix is to independently handle -proxy option before
-starttls so the s_client can connect through HTTP proxy server and
then use STARTTLS command.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17925)
2022-05-05 13:36:23 +02:00
..
2022-05-03 13:34:51 +01:00
2022-05-04 13:46:10 +10:00
2022-04-22 11:34:41 +02:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2021-05-06 13:03:23 +01:00
2020-12-15 11:47:17 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2020-05-13 06:28:36 +02:00
2022-05-03 13:34:51 +01:00
2022-05-04 13:46:10 +10:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2019-09-28 20:26:36 +02:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00