diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index c54444c91b..4c3fe7f3e3 100644 --- a/src/lib/libcrypto/x509/x509_vfy.c +++ b/src/lib/libcrypto/x509/x509_vfy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.c,v 1.91 2021/10/24 13:52:13 tb Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.92 2021/10/26 15:14:18 job Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -549,6 +549,16 @@ X509_verify_cert_legacy(X509_STORE_CTX *ctx) | |||
549 | if (!ok) | 549 | if (!ok) |
550 | goto end; | 550 | goto end; |
551 | 551 | ||
552 | #ifndef OPENSSL_NO_RFC3779 | ||
553 | ok = X509v3_asid_validate_path(ctx); | ||
554 | if (!ok) | ||
555 | goto end; | ||
556 | |||
557 | ok = X509v3_addr_validate_path(ctx); | ||
558 | if (!ok) | ||
559 | goto end; | ||
560 | #endif | ||
561 | |||
552 | ok = check_id(ctx); | 562 | ok = check_id(ctx); |
553 | if (!ok) | 563 | if (!ok) |
554 | goto end; | 564 | goto end; |