From ec5535eb0976699e795a3849807e66a7e64bf29d Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 11 Oct 2023 13:13:25 +0000 Subject: x509_algor: Turn expected failure into actual failure now that the API is fixed. --- src/regress/lib/libcrypto/asn1/x509_algor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/regress/lib/libcrypto/asn1/x509_algor.c b/src/regress/lib/libcrypto/asn1/x509_algor.c index 6f53c3d034..f0c63696d0 100644 --- a/src/regress/lib/libcrypto/asn1/x509_algor.c +++ b/src/regress/lib/libcrypto/asn1/x509_algor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_algor.c,v 1.2 2023/10/11 13:00:16 tb Exp $ */ +/* $OpenBSD: x509_algor.c,v 1.3 2023/10/11 13:13:25 tb Exp $ */ /* * Copyright (c) 2023 Theo Buehler * @@ -284,8 +284,8 @@ x509_algor_get0_test(void) pval = oid; X509_ALGOR_get0(NULL, NULL, &pval, alg); if (pval != NULL) { - /* XXX */ - fprintf(stderr, "expected FAIL: %s: got non-NULL pval\n", __func__); + fprintf(stderr, "FAIL: %s: got non-NULL pval\n", __func__); + goto failure; } aobj = NULL; -- cgit v1.2.3-55-g6feb