diff options
author | tb <> | 2021-10-24 13:48:15 +0000 |
---|---|---|
committer | tb <> | 2021-10-24 13:48:15 +0000 |
commit | 48c471e6a98e03acff50a033e9a20091e4842f90 (patch) | |
tree | 34d202c7d5ae0f1660adefd5960be3c5fa65e314 /src/lib/libcrypto/x509/x509_vfy.h | |
parent | 4a45052f637f8486f2bfc31e5cd050e49f7e0064 (diff) | |
download | openbsd-48c471e6a98e03acff50a033e9a20091e4842f90.tar.gz openbsd-48c471e6a98e03acff50a033e9a20091e4842f90.tar.bz2 openbsd-48c471e6a98e03acff50a033e9a20091e4842f90.zip |
Prepare to provide X509_STORE_CTX_get_num_untrusted()
ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h index e80e7de45e..c6adb41b3d 100644 --- a/src/lib/libcrypto/x509/x509_vfy.h +++ b/src/lib/libcrypto/x509/x509_vfy.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.h,v 1.35 2021/10/24 09:27:48 tb Exp $ */ | 1 | /* $OpenBSD: x509_vfy.h,v 1.36 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 | * |
@@ -539,6 +539,9 @@ void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx, | |||
539 | 539 | ||
540 | X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx); | 540 | X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx); |
541 | int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx); | 541 | int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx); |
542 | #if defined(LIBRESSL_NEW_API) | ||
543 | int X509_STORE_CTX_get_num_untrusted(X509_STORE_CTX *ctx); | ||
544 | #endif | ||
542 | 545 | ||
543 | X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(X509_STORE_CTX *ctx); | 546 | X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(X509_STORE_CTX *ctx); |
544 | void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param); | 547 | void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param); |