diff options
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.c')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index 2f69017e96..17dfb52c62 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.89 2021/09/03 08:58:53 beck Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.90 2021/10/24 13:48:15 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 | * |
| @@ -2506,6 +2506,12 @@ X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx) | |||
| 2506 | } | 2506 | } |
| 2507 | 2507 | ||
| 2508 | int | 2508 | int |
| 2509 | X509_STORE_CTX_get_num_untrusted(X509_STORE_CTX *ctx) | ||
| 2510 | { | ||
| 2511 | return ctx->last_untrusted; /* XXX */ | ||
| 2512 | } | ||
| 2513 | |||
| 2514 | int | ||
| 2509 | X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name) | 2515 | X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name) |
| 2510 | { | 2516 | { |
| 2511 | const X509_VERIFY_PARAM *param; | 2517 | const X509_VERIFY_PARAM *param; |
