Christian Heimes dfccfde065 Inherit hostflags verify params even without hosts
X509_VERIFY_PARAM_inherit() now copies hostflags independently of hosts.

Previously hostflags were only copied when at least one host was set.
Typically applications don't configure hosts on SSL_CTX. The change
enables applications to configure hostflags on SSL_CTX and have OpenSSL
copy the flags from SSL_CTX to SSL.

Fixes: https://github.com/openssl/openssl/issues/14579
Signed-off-by: Christian Heimes <christian@python.org>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14743)
2021-04-09 08:32:38 +10:00
..
2020-12-03 11:22:06 +10:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2020-04-23 13:55:52 +01:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2020-11-26 14:18:57 +00:00
2020-04-23 13:55:52 +01:00
2021-03-18 17:52:38 +10:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-03-11 13:27:36 +00:00
2021-04-08 13:04:41 +01:00
2021-01-28 13:54:57 +01:00
2020-11-26 14:18:57 +00:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-03-22 15:40:04 +01:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2020-08-29 17:40:11 +10:00
2021-04-08 13:04:41 +01:00
2019-11-12 13:30:35 +01:00
2021-04-08 13:04:41 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-11-26 14:18:57 +00:00
2020-04-23 13:55:52 +01:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-03-11 13:27:36 +00:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-09-10 09:50:56 +02:00
2021-04-08 13:04:41 +01:00
2020-04-23 13:55:52 +01:00
2020-11-26 14:18:57 +00:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-03-18 17:52:37 +10:00
2021-02-18 15:05:17 +00:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-03-11 13:27:36 +00:00
2020-04-23 13:55:52 +01:00
2021-01-28 13:54:57 +01:00
2020-04-23 13:55:52 +01:00
2021-04-08 13:04:41 +01:00
2020-04-23 13:55:52 +01:00
2021-01-28 13:54:57 +01:00
2021-03-18 17:52:38 +10:00
2021-04-02 16:39:13 +02:00
2021-04-02 16:39:13 +02:00
2021-04-08 13:04:41 +01:00
2020-10-01 11:25:12 +10:00
2021-03-18 17:35:10 +10:00
2020-10-15 14:10:06 +01:00
2020-06-22 02:35:01 +02:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2020-04-28 15:37:37 +02:00
2020-11-26 14:18:57 +00:00
2021-04-08 13:04:41 +01:00
2021-03-11 13:27:36 +00:00
2021-03-11 13:27:36 +00:00
2021-03-11 13:27:36 +00:00
2020-04-23 13:55:52 +01:00
2019-09-28 20:26:36 +02:00
2020-04-23 13:55:52 +01:00
2021-03-11 13:27:36 +00:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2020-10-15 14:10:06 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2021-04-08 13:04:41 +01:00
2020-12-14 10:45:27 +10:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2019-07-01 13:32:46 -04:00
2021-04-08 13:04:41 +01:00
2020-04-23 13:55:52 +01:00