Provide a harness driving rust-openssl's regress tests
authortb <tb@openbsd.org>
Thu, 20 Oct 2022 07:33:14 +0000 (07:33 +0000)
committertb <tb@openbsd.org>
Thu, 20 Oct 2022 07:33:14 +0000 (07:33 +0000)
commit0642fa8383c9250c0db20520e52cc8d1b9daca92
tree56a2bc68c78d532cc0616f7d3d873917d956dee1
parent3e47678e1f507806ce2b0b39c6423d6c8bfc4873
Provide a harness driving rust-openssl's regress tests

rust-openssl is an integral part of the Rust ecosystem and more than a
dozen ports, including lang/rust itself, depend on it. We need to ensure
that it keeps working with LibreSSL.

If the rust and rust-openssl-tests packages are installed, create a cargo
workspace under obj/ that compiles and runs the rust-openssl regress tests
much like what is done for the openssl-ruby tests. This expands our regress
coverage: for instance, this would have caught the broken ASN.1 indefinite
length encoding caused by asn1/tasn_enc.c r1.25.

Positive feedback beck jsing semarie
Testing and ok anton
regress/lib/libssl/rust-openssl/Cargo.toml [new file with mode: 0644]
regress/lib/libssl/rust-openssl/Makefile [new file with mode: 0644]
regress/lib/libssl/rust-openssl/config [new file with mode: 0644]