Fix an error exit in X509v3_addr_validate_path()
authortb <tb@openbsd.org>
Sun, 29 Oct 2023 13:22:37 +0000 (13:22 +0000)
committertb <tb@openbsd.org>
Sun, 29 Oct 2023 13:22:37 +0000 (13:22 +0000)
commitc8ef2279606ab66d81c3e2ad056a0ea13ec53bd3
treebadb6eaf7e6712baaa0b4269e52cb79f0452a874
parentf71e4cb7a7f1e5d9e44122859d30db692e0d2187
Fix an error exit in X509v3_addr_validate_path()

If the topmost cert is invalid, this should result in a validation failure.
Do the same dance as elsewhere permitting the verify callback to intercept
the error but ensuring that we throw an error.

ok jsing
lib/libcrypto/x509/x509_addr.c