summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-05-12 19:58:46 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-05-12 19:58:46 +0000
commitf6110edd727f50603ed4a057df714c3f02639e79 (patch)
treee1bf461967fce18d1acef957267801d59814fae5
parentc93c2e98e18ee864ed18a36505742dfb743fb464 (diff)
Enable X509v3_asid_subset() tests now that they no longer segfault.
-rw-r--r--regress/lib/libcrypto/x509/rfc3779/rfc3779.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/regress/lib/libcrypto/x509/rfc3779/rfc3779.c b/regress/lib/libcrypto/x509/rfc3779/rfc3779.c
index c6d268bb9b3..efdb6516f2e 100644
--- a/regress/lib/libcrypto/x509/rfc3779/rfc3779.c
+++ b/regress/lib/libcrypto/x509/rfc3779/rfc3779.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfc3779.c,v 1.7 2022/05/12 10:12:18 tb Exp $ */
+/* $OpenBSD: rfc3779.c,v 1.8 2022/05/12 19:58:45 tb Exp $ */
/*
* Copyright (c) 2021 Theo Buehler <tb@openbsd.org>
*
@@ -1495,10 +1495,6 @@ struct ASIdentifiers_subset_test {
int is_subset_if_canonized;
};
-/*
- * XXX: X509v3_asid_subset() assumes that both asnum and rdi are present
- * while they are both marked OPTIONAL in RFC 3779, 3.2.3...
- */
const struct ASIdentifiers_subset_test ASIdentifiers_subset_data[] = {
{
.description = "simple subset relation",
@@ -1539,7 +1535,6 @@ const struct ASIdentifiers_subset_test ASIdentifiers_subset_data[] = {
.is_subset = 1,
.is_subset_if_canonized = 1,
},
-#if 0
{
.description = "only asnums",
.delegationsA = {
@@ -1681,7 +1676,6 @@ const struct ASIdentifiers_subset_test ASIdentifiers_subset_data[] = {
.is_subset = 1,
.is_subset_if_canonized = 1,
},
-#endif
{
.description = "subset relation only after canonization",
.delegationsA = {