From fc20c8359d88d0941b87bcee13bfb8ec27fdf312 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 11 Oct 2023 13:13:25 +0000 Subject: [PATCH] x509_algor: Turn expected failure into actual failure now that the API is fixed. --- regress/lib/libcrypto/asn1/x509_algor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/lib/libcrypto/asn1/x509_algor.c b/regress/lib/libcrypto/asn1/x509_algor.c index 6f53c3d034c..f0c63696d00 100644 --- a/regress/lib/libcrypto/asn1/x509_algor.c +++ b/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; -- 2.20.1