diff options
| author | tb <> | 2026-06-26 05:59:11 +0000 |
|---|---|---|
| committer | tb <> | 2026-06-26 05:59:11 +0000 |
| commit | 73d18a4f2b3d38d316d58fba24a3267634dbba54 (patch) | |
| tree | 1ad6b34f0531c33615bfc4671dbf7f71cb9b194b | |
| parent | ba5c689596469f4931d51807e6149ec33cb65810 (diff) | |
| download | openbsd-73d18a4f2b3d38d316d58fba24a3267634dbba54.tar.gz openbsd-73d18a4f2b3d38d316d58fba24a3267634dbba54.tar.bz2 openbsd-73d18a4f2b3d38d316d58fba24a3267634dbba54.zip | |
x509_crl regress: enable the failing test and mark as XFAIL
| -rw-r--r-- | src/regress/lib/libcrypto/x509/Makefile | 4 | ||||
| -rw-r--r-- | src/regress/lib/libcrypto/x509/x509_crl.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libcrypto/x509/Makefile b/src/regress/lib/libcrypto/x509/Makefile index 8e043007d0..a127e264c9 100644 --- a/src/regress/lib/libcrypto/x509/Makefile +++ b/src/regress/lib/libcrypto/x509/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.27 2026/06/23 08:32:55 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.28 2026/06/26 05:59:11 tb Exp $ |
| 2 | 2 | ||
| 3 | PROGS = constraints verify x509attribute x509req_ext callback | 3 | PROGS = constraints verify x509attribute x509req_ext callback |
| 4 | PROGS += expirecallback callbackfailures x509_asn1 x509_extensions_test | 4 | PROGS += expirecallback callbackfailures x509_asn1 x509_extensions_test |
| @@ -9,6 +9,8 @@ DPADD = ${LIBCRYPTO} | |||
| 9 | LDADD_constraints = ${CRYPTO_INT} | 9 | LDADD_constraints = ${CRYPTO_INT} |
| 10 | LDADD_verify = ${CRYPTO_INT} | 10 | LDADD_verify = ${CRYPTO_INT} |
| 11 | 11 | ||
| 12 | REGRESS_EXPECTED_FAILURES = run-regress-x509_crl | ||
| 13 | |||
| 12 | WARNINGS = Yes | 14 | WARNINGS = Yes |
| 13 | CFLAGS += -DLIBRESSL_INTERNAL -Wall -Werror | 15 | CFLAGS += -DLIBRESSL_INTERNAL -Wall -Werror |
| 14 | CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/x509 | 16 | CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/x509 |
diff --git a/src/regress/lib/libcrypto/x509/x509_crl.c b/src/regress/lib/libcrypto/x509/x509_crl.c index b63376e5b5..941b865263 100644 --- a/src/regress/lib/libcrypto/x509/x509_crl.c +++ b/src/regress/lib/libcrypto/x509/x509_crl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_crl.c,v 1.1 2026/06/23 08:24:49 tb Exp $ */ | 1 | /* $OpenBSD: x509_crl.c,v 1.2 2026/06/26 05:59:11 tb Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * Copyright (c) 2015, Google Inc. | 4 | * Copyright (c) 2015, Google Inc. |
| @@ -305,13 +305,11 @@ main(void) | |||
| 305 | goto err; | 305 | goto err; |
| 306 | } | 306 | } |
| 307 | 307 | ||
| 308 | #if 0 | ||
| 309 | if (verify(leaf, root, make_CRL_stack(basic_crl, revoked_crl), | 308 | if (verify(leaf, root, make_CRL_stack(basic_crl, revoked_crl), |
| 310 | X509_V_FLAG_CRL_CHECK) != X509_V_ERR_CERT_REVOKED) { | 309 | X509_V_FLAG_CRL_CHECK) != X509_V_ERR_CERT_REVOKED) { |
| 311 | fprintf(stderr, "Revoked CRL wasn't checked.\n"); | 310 | fprintf(stderr, "Revoked CRL wasn't checked.\n"); |
| 312 | goto err; | 311 | goto err; |
| 313 | } | 312 | } |
| 314 | #endif | ||
| 315 | 313 | ||
| 316 | if (verify(leaf, root, NULL, | 314 | if (verify(leaf, root, NULL, |
| 317 | X509_V_FLAG_CRL_CHECK) != X509_V_ERR_UNABLE_TO_GET_CRL) { | 315 | X509_V_FLAG_CRL_CHECK) != X509_V_ERR_UNABLE_TO_GET_CRL) { |
