summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
authortb <>2022-05-12 19:58:45 +0000
committertb <>2022-05-12 19:58:45 +0000
commitb5f7ec553cb64b51be9cbe581bc3dce38c9f2ebf (patch)
tree4bb5423e34823afd079f29b8cec2363c6aab9bfa /src/regress/lib
parentde3601f2e1e6ee4ff034d168947992efb01a83b0 (diff)
downloadopenbsd-b5f7ec553cb64b51be9cbe581bc3dce38c9f2ebf.tar.gz
openbsd-b5f7ec553cb64b51be9cbe581bc3dce38c9f2ebf.tar.bz2
openbsd-b5f7ec553cb64b51be9cbe581bc3dce38c9f2ebf.zip
Enable X509v3_asid_subset() tests now that they no longer segfault.
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libcrypto/x509/rfc3779/rfc3779.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/regress/lib/libcrypto/x509/rfc3779/rfc3779.c b/src/regress/lib/libcrypto/x509/rfc3779/rfc3779.c
index c6d268bb9b..efdb6516f2 100644
--- a/src/regress/lib/libcrypto/x509/rfc3779/rfc3779.c
+++ b/src/regress/lib/libcrypto/x509/rfc3779/rfc3779.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rfc3779.c,v 1.7 2022/05/12 10:12:18 tb Exp $ */ 1/* $OpenBSD: rfc3779.c,v 1.8 2022/05/12 19:58:45 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2021 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2021 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -1495,10 +1495,6 @@ struct ASIdentifiers_subset_test {
1495 int is_subset_if_canonized; 1495 int is_subset_if_canonized;
1496}; 1496};
1497 1497
1498/*
1499 * XXX: X509v3_asid_subset() assumes that both asnum and rdi are present
1500 * while they are both marked OPTIONAL in RFC 3779, 3.2.3...
1501 */
1502const struct ASIdentifiers_subset_test ASIdentifiers_subset_data[] = { 1498const struct ASIdentifiers_subset_test ASIdentifiers_subset_data[] = {
1503 { 1499 {
1504 .description = "simple subset relation", 1500 .description = "simple subset relation",
@@ -1539,7 +1535,6 @@ const struct ASIdentifiers_subset_test ASIdentifiers_subset_data[] = {
1539 .is_subset = 1, 1535 .is_subset = 1,
1540 .is_subset_if_canonized = 1, 1536 .is_subset_if_canonized = 1,
1541 }, 1537 },
1542#if 0
1543 { 1538 {
1544 .description = "only asnums", 1539 .description = "only asnums",
1545 .delegationsA = { 1540 .delegationsA = {
@@ -1681,7 +1676,6 @@ const struct ASIdentifiers_subset_test ASIdentifiers_subset_data[] = {
1681 .is_subset = 1, 1676 .is_subset = 1,
1682 .is_subset_if_canonized = 1, 1677 .is_subset_if_canonized = 1,
1683 }, 1678 },
1684#endif
1685 { 1679 {
1686 .description = "subset relation only after canonization", 1680 .description = "subset relation only after canonization",
1687 .delegationsA = { 1681 .delegationsA = {