diff options
-rw-r--r-- | src/lib/libcrypto/x509/x509_addr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509_addr.c b/src/lib/libcrypto/x509/x509_addr.c index cc77f92509..209c5cf397 100644 --- a/src/lib/libcrypto/x509/x509_addr.c +++ b/src/lib/libcrypto/x509/x509_addr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_addr.c,v 1.76 2022/01/06 14:08:15 tb Exp $ */ | 1 | /* $OpenBSD: x509_addr.c,v 1.77 2022/02/04 16:34:15 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Contributed to the OpenSSL Project by the American Registry for | 3 | * Contributed to the OpenSSL Project by the American Registry for |
4 | * Internet Numbers ("ARIN"). | 4 | * Internet Numbers ("ARIN"). |
@@ -1899,9 +1899,6 @@ addr_validate_path_internal(X509_STORE_CTX *ctx, STACK_OF(X509) *chain, | |||
1899 | if (IPAddressFamily_inheritance(parent_af) == NULL) | 1899 | if (IPAddressFamily_inheritance(parent_af) == NULL) |
1900 | continue; | 1900 | continue; |
1901 | 1901 | ||
1902 | if (sk_IPAddressFamily_find(child, parent_af) < 0) | ||
1903 | continue; | ||
1904 | |||
1905 | if ((ret = verify_error(ctx, cert, | 1902 | if ((ret = verify_error(ctx, cert, |
1906 | X509_V_ERR_UNNESTED_RESOURCE, depth)) == 0) | 1903 | X509_V_ERR_UNNESTED_RESOURCE, depth)) == 0) |
1907 | goto done; | 1904 | goto done; |