Reimplement part of the openssl/x509 regress tests in C
authortb <tb@openbsd.org>
Mon, 30 Aug 2021 17:27:45 +0000 (17:27 +0000)
committertb <tb@openbsd.org>
Mon, 30 Aug 2021 17:27:45 +0000 (17:27 +0000)
commit4cf26cd84b1aaa31a1916c57abc22a981ce35f79
tree18a69fa0c938404de7002fc973cd49cf2cbffded
parent5a01bd8fc580db2edf79343f28a8e93f47af098a
Reimplement part of the openssl/x509 regress tests in C

Instead of using s_client and s_server and complicated shell scripts,
we can reuse the framework from the ssl_get_shared_cipher() regress
test and inspect the verify return value directly.

Discussed with beck jan jsing
regress/lib/libssl/verify/Makefile [new file with mode: 0644]
regress/lib/libssl/verify/create-libressl-test-certs.pl [new file with mode: 0644]
regress/lib/libssl/verify/verify.c [new file with mode: 0644]