diff options
| author | tb <> | 2023-04-25 18:28:05 +0000 |
|---|---|---|
| committer | tb <> | 2023-04-25 18:28:05 +0000 |
| commit | f93e2515680ec934d84f432f85c41fbc3d28e5bc (patch) | |
| tree | 5e6300823f61fe1b218fefd7cfb03d499e067bcd /src/lib/libcrypto/x509/x509_vfy.c | |
| parent | cd5bdbca3ae5af8f90531b86da04780bda9c9b0a (diff) | |
| download | openbsd-f93e2515680ec934d84f432f85c41fbc3d28e5bc.tar.gz openbsd-f93e2515680ec934d84f432f85c41fbc3d28e5bc.tar.bz2 openbsd-f93e2515680ec934d84f432f85c41fbc3d28e5bc.zip | |
Move the policy tree code to internal-only
A few hooks remain in the legacy validator, which will soon be replaced
with something better. The rest of the tentacles are now largely contained.
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index d54ba783e8..30118475d1 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.113 2023/04/16 18:48:58 tb Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.114 2023/04/25 18:28:05 tb 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 | * |
| @@ -2601,20 +2601,6 @@ X509_STORE_CTX_set0_verified_chain(X509_STORE_CTX *ctx, STACK_OF(X509) *sk) | |||
| 2601 | } | 2601 | } |
| 2602 | LCRYPTO_ALIAS(X509_STORE_CTX_set0_verified_chain); | 2602 | LCRYPTO_ALIAS(X509_STORE_CTX_set0_verified_chain); |
| 2603 | 2603 | ||
| 2604 | X509_POLICY_TREE * | ||
| 2605 | X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx) | ||
| 2606 | { | ||
| 2607 | return ctx->tree; | ||
| 2608 | } | ||
| 2609 | LCRYPTO_ALIAS(X509_STORE_CTX_get0_policy_tree); | ||
| 2610 | |||
| 2611 | int | ||
| 2612 | X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx) | ||
| 2613 | { | ||
| 2614 | return ctx->explicit_policy; | ||
| 2615 | } | ||
| 2616 | LCRYPTO_ALIAS(X509_STORE_CTX_get_explicit_policy); | ||
| 2617 | |||
| 2618 | int | 2604 | int |
| 2619 | X509_STORE_CTX_get_num_untrusted(X509_STORE_CTX *ctx) | 2605 | X509_STORE_CTX_get_num_untrusted(X509_STORE_CTX *ctx) |
| 2620 | { | 2606 | { |
