diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2023-04-28 09:11:36 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2023-04-28 09:11:36 +0000 |
commit | 998eaf87dc899e0ed44748abbb5263a0e8df4427 (patch) | |
tree | ff10b72f7a69b8a2a336572e54af3c12d941b97b /regress | |
parent | 0dd726ee3cd480b93deb9924e59eda08461918d7 (diff) |
Hook up the the x509 policy regression tests to x509 regress.
These were adapted from BoringSSL's regress tests for x509
policy. They are currently marked as expected to fail as
we have not enabled LIBRESSL_HAS_POLICY_DAG by default yet, and
the old tree based policy code from OpenSSL is special.
These tests pass when we build with LIBRESSL_HAS_POLICY_DAG.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libcrypto/x509/Makefile | 4 | ||||
-rw-r--r-- | regress/lib/libcrypto/x509/policy/Makefile | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/x509/Makefile b/regress/lib/libcrypto/x509/Makefile index d6c94f352ac..a8796ebe315 100644 --- a/regress/lib/libcrypto/x509/Makefile +++ b/regress/lib/libcrypto/x509/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.18 2023/04/26 08:58:03 job Exp $ +# $OpenBSD: Makefile,v 1.19 2023/04/28 09:11:35 beck Exp $ PROGS = constraints verify x509attribute x509name x509req_ext callback PROGS += expirecallback callbackfailures x509_asn1 @@ -13,7 +13,7 @@ CFLAGS += -DLIBRESSL_INTERNAL -Wall -Werror CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/x509 CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bytestring -SUBDIR += bettertls rfc3779 +SUBDIR += bettertls rfc3779 policy CLEANFILES += x509name.result callback.out diff --git a/regress/lib/libcrypto/x509/policy/Makefile b/regress/lib/libcrypto/x509/policy/Makefile index b365499412e..89de5a43483 100644 --- a/regress/lib/libcrypto/x509/policy/Makefile +++ b/regress/lib/libcrypto/x509/policy/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2023/04/27 12:23:31 beck Exp $ +# $OpenBSD: Makefile,v 1.2 2023/04/28 09:11:35 beck Exp $ PROGS = policy @@ -14,6 +14,7 @@ CFLAGS += -I${.CURDIR}/../../../../../lib/libcrypto/bytestring CFLAGS += -DCERTSDIR=\"${.CURDIR}/../../../libcrypto/x509/policy\" REGRESS_TARGETS = policy-test +REGRESS_EXPECTED_FAILURES = policy-test policy-test: policy ./policy |