Get rid of historical code to extract the roots in the legacy case.
authorbeck <beck@openbsd.org>
Sat, 28 Aug 2021 15:22:42 +0000 (15:22 +0000)
committerbeck <beck@openbsd.org>
Sat, 28 Aug 2021 15:22:42 +0000 (15:22 +0000)
commit99d404eba6729661ec083f2f0a2d23289d5616e6
tree04d438d75c2b54f688c1a8206d4418d35f06b312
parent063f2f303262c231e6dc50ab855128c5232810c7
Get rid of historical code to extract the roots in the legacy case.
Due to the need to support by_dir, we use the get_issuer stuff when running
in x509_vfy compatibility mode amyway - so just use it any time we are
doing that. Removes a bunch of yukky stuff and a "Don't Look Ethel"

ok tb@ jsing@
lib/libcrypto/x509/x509_internal.h
lib/libcrypto/x509/x509_verify.c
lib/libcrypto/x509/x509_vfy.c