Add a regression test to verify that we call the callback in the same
authorbeck <beck@openbsd.org>
Wed, 1 Sep 2021 08:12:15 +0000 (08:12 +0000)
committerbeck <beck@openbsd.org>
Wed, 1 Sep 2021 08:12:15 +0000 (08:12 +0000)
commit8657d445586d25f617b087ef7ce0c4b2c5d06ea2
tree0beba97f07d29b20a2cab817d81bcca08fa00497
parent6f704872d7123566db0e762dcbb62f451d331c73
Add a regression test to verify that we call the callback in the same
order on success for both the legacy and the new verifier, This avoids
problems as seen in perl's regression tests for some of the crazy things
net:ssleay does.

This is currently marked as expected to fail, it will be expected to
succeed after a forthcoming commit from me.
regress/lib/libcrypto/x509/Makefile
regress/lib/libcrypto/x509/callback.c [new file with mode: 0644]
regress/lib/libcrypto/x509/callback.pl [new file with mode: 0644]