From: tb Date: Wed, 11 Oct 2023 13:13:25 +0000 (+0000) Subject: x509_algor: Turn expected failure into actual failure now that the API is X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fc20c8359d88d0941b87bcee13bfb8ec27fdf312;p=openbsd x509_algor: Turn expected failure into actual failure now that the API is fixed. --- 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;