diff options
| author | tb <> | 2023-10-11 13:13:25 +0000 |
|---|---|---|
| committer | tb <> | 2023-10-11 13:13:25 +0000 |
| commit | ec5535eb0976699e795a3849807e66a7e64bf29d (patch) | |
| tree | 6b9ad57897a5db05015d38d18928ae96339810b2 /src | |
| parent | b2211cd9ad888832934da32064d3e7794fee1b20 (diff) | |
| download | openbsd-ec5535eb0976699e795a3849807e66a7e64bf29d.tar.gz openbsd-ec5535eb0976699e795a3849807e66a7e64bf29d.tar.bz2 openbsd-ec5535eb0976699e795a3849807e66a7e64bf29d.zip | |
x509_algor: Turn expected failure into actual failure now that the API is
fixed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/asn1/x509_algor.c | 6 |
1 files 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 @@ | |||
| 1 | /* $OpenBSD: x509_algor.c,v 1.2 2023/10/11 13:00:16 tb Exp $ */ | 1 | /* $OpenBSD: x509_algor.c,v 1.3 2023/10/11 13:13:25 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> |
| 4 | * | 4 | * |
| @@ -284,8 +284,8 @@ x509_algor_get0_test(void) | |||
| 284 | pval = oid; | 284 | pval = oid; |
| 285 | X509_ALGOR_get0(NULL, NULL, &pval, alg); | 285 | X509_ALGOR_get0(NULL, NULL, &pval, alg); |
| 286 | if (pval != NULL) { | 286 | if (pval != NULL) { |
| 287 | /* XXX */ | 287 | fprintf(stderr, "FAIL: %s: got non-NULL pval\n", __func__); |
| 288 | fprintf(stderr, "expected FAIL: %s: got non-NULL pval\n", __func__); | 288 | goto failure; |
| 289 | } | 289 | } |
| 290 | 290 | ||
| 291 | aobj = NULL; | 291 | aobj = NULL; |
