Matt Caswell e4142ec43b Ensure that EXFLAG_INVALID_POLICY is checked even in leaf certs
Even though we check the leaf cert to confirm it is valid, we
later ignored the invalid flag and did not notice that the leaf
cert was bad.

Fixes: CVE-2023-0465

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20585)
2023-03-28 13:31:38 +02:00
..
2023-03-16 10:17:58 +01:00
2022-11-07 11:23:13 +01:00
2023-02-08 16:53:12 +01:00
2023-03-01 09:36:49 +11:00
2022-06-22 12:46:50 +02:00
2022-05-03 13:34:51 +01:00
2021-04-08 13:04:41 +01:00
2022-01-12 20:10:21 +11: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-03-11 13:27:36 +00:00
2023-02-08 16:20:55 +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-09-05 10:20:30 +10:00
2023-03-07 18:21:51 +01:00
2022-05-03 13:34:51 +01:00
2022-09-13 21:13:22 +10:00
2021-04-08 13:04:41 +01:00