Remove a strange inheritance check from addr_validate_path_internal()
authortb <tb@openbsd.org>
Fri, 4 Feb 2022 16:34:15 +0000 (16:34 +0000)
committertb <tb@openbsd.org>
Fri, 4 Feb 2022 16:34:15 +0000 (16:34 +0000)
commit72c42acb463f0c963bfe899601d01322e99e0b75
tree71b9aef008e345ad42cb2f17034ba302108f6a94
parent34104f0d16695e5d91463577644795c98bad6934
Remove a strange inheritance check from addr_validate_path_internal()

The trust anchor can't inherit, but the code says that it can inherit
just not if the leaf tries to inherit from that. This makes no sense
and doesn't match what is done on the asid side.

ok jsing
lib/libcrypto/x509/x509_addr.c