Integrate BoringSSL shim
authorMatt Caswell <matt@openssl.org>
Mon, 10 Oct 2016 11:17:21 +0000 (12:17 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 4 Nov 2016 10:38:54 +0000 (10:38 +0000)
commiteef977aa0e6c6614bc99bd8357bc4afba91737f7
tree808c4ca152294bf661af4ba6e8e84912c3b18bc7
parent62dd3351a16089aedb0f1e62e3b6df371c93389c
Integrate BoringSSL shim

The BoringSSL test suite contains numerous tests which OpenSSL does not.

The BoringSSL test runner uses a shim to launch the library and execute the
tests. This is a version of the BoringSSL shim converted to compile against
OpenSSL instead.

This is primarily based on the work of David Benjamin from the BoringSSL
project who did most of the necessary conversion. It also includes a few
other tweaks for opacity changes etc.

This is based on a *very* old version of BoringSSL from commit f277add6c.
That was the last commit known to work with this patched shim. Later
versions may also work but lots of merge conflicts occur when trying to
bring it up to date.

At the moment this has not been integrated into the build system. There is
a very simple standalone makefile in the ossl_shim directory which should
be executed directly before tyring to use the shim.

Reviewed-by: Richard Levitte <levitte@openssl.org>
test/ossl_shim/Makefile [new file with mode: 0644]
test/ossl_shim/async_bio.cc [new file with mode: 0644]
test/ossl_shim/async_bio.h [new file with mode: 0644]
test/ossl_shim/crypto/scoped_types.h [new file with mode: 0644]
test/ossl_shim/ossl_shim.cc [new file with mode: 0644]
test/ossl_shim/packeted_bio.cc [new file with mode: 0644]
test/ossl_shim/packeted_bio.h [new file with mode: 0644]
test/ossl_shim/scoped_types.h [new file with mode: 0644]
test/ossl_shim/test_config.cc [new file with mode: 0644]
test/ossl_shim/test_config.h [new file with mode: 0644]