-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* workflows/test-harness: run openssl tests Signed-off-by: Andrew Pan <a@tny.town> * harness/gocryptox509: never exit with nonzero Signed-off-by: Andrew Pan <a@tny.town> * harness/openssl: older make accomodations Also only use libcrypto. Signed-off-by: William Woodruff <william@trailofbits.com> * Makefile: debug tweak, document building Signed-off-by: William Woodruff <william@trailofbits.com> * test-harness: drop explicit CXX Signed-off-by: William Woodruff <william@trailofbits.com> * Revert "test-harness: drop explicit CXX" This reverts commit df725fe. --------- Signed-off-by: Andrew Pan <a@tny.town> Signed-off-by: William Woodruff <william@trailofbits.com> Co-authored-by: William Woodruff <william@trailofbits.com>
- Loading branch information
Showing
4 changed files
with
39 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# OpenSSL test harness for x509-limbo | ||
|
||
This directory contains a basic test harness for running the x509-testsuite | ||
against OpenSSL. | ||
|
||
OpenSSL 1.1, 3.0, and 3.1 should all work. | ||
|
||
## Building | ||
|
||
On Linux with OpenSSL installed, building should be as simple as: | ||
|
||
```bash | ||
# build normally | ||
make | ||
|
||
# build with sanitizers, etc. | ||
make debug | ||
``` | ||
|
||
On macOS, you'll need to tell the build where to find the version of OpenSSL | ||
to use. The easiest way to do that is to use `brew` and `PKG_CONFIG_PATH`, e.g.: | ||
|
||
```bash | ||
# install the version of OpenSSL you'd like to test | ||
brew install openssl@3.1 | ||
|
||
PKG_CONFIG_PATH="$(brew --prefix)/opt/openssl@3.1/lib/pkgconfig" make | ||
``` |