summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/X509_STORE_CTX_get_error.3
diff options
context:
space:
mode:
authortb <>2023-04-30 14:49:47 +0000
committertb <>2023-04-30 14:49:47 +0000
commit434ee8b2e118b54fb98a6bfd425bb9da625fc656 (patch)
treef5bf74640d29271fd29c78d1dc3775bf87e45e0d /src/lib/libcrypto/man/X509_STORE_CTX_get_error.3
parent98a37f6a03d427a2f861a266cc7cdf37f00f1de6 (diff)
downloadopenbsd-434ee8b2e118b54fb98a6bfd425bb9da625fc656.tar.gz
openbsd-434ee8b2e118b54fb98a6bfd425bb9da625fc656.tar.bz2
openbsd-434ee8b2e118b54fb98a6bfd425bb9da625fc656.zip
The policy tree is no more
Mop up documentation mentioning it or any of its numerous accessors that almost nothing ever used.
Diffstat (limited to 'src/lib/libcrypto/man/X509_STORE_CTX_get_error.3')
-rw-r--r--src/lib/libcrypto/man/X509_STORE_CTX_get_error.340
1 files changed, 2 insertions, 38 deletions
diff --git a/src/lib/libcrypto/man/X509_STORE_CTX_get_error.3 b/src/lib/libcrypto/man/X509_STORE_CTX_get_error.3
index 30e4024736..b3d0ee3069 100644
--- a/src/lib/libcrypto/man/X509_STORE_CTX_get_error.3
+++ b/src/lib/libcrypto/man/X509_STORE_CTX_get_error.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_STORE_CTX_get_error.3,v 1.26 2023/04/21 06:45:56 tb Exp $ 1.\" $OpenBSD: X509_STORE_CTX_get_error.3,v 1.27 2023/04/30 14:49:47 tb Exp $
2.\" full merge up to: 2.\" full merge up to:
3.\" OpenSSL man3/X509_STORE_CTX_get_error 24a535ea Sep 22 13:14:20 2020 +0100 3.\" OpenSSL man3/X509_STORE_CTX_get_error 24a535ea Sep 22 13:14:20 2020 +0100
4.\" OpenSSL man3/X509_STORE_CTX_new 24a535ea Sep 22 13:14:20 2020 +0100 4.\" OpenSSL man3/X509_STORE_CTX_new 24a535ea Sep 22 13:14:20 2020 +0100
@@ -68,7 +68,7 @@
68.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 68.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
69.\" OF THE POSSIBILITY OF SUCH DAMAGE. 69.\" OF THE POSSIBILITY OF SUCH DAMAGE.
70.\" 70.\"
71.Dd $Mdocdate: April 21 2023 $ 71.Dd $Mdocdate: April 30 2023 $
72.Dt X509_STORE_CTX_GET_ERROR 3 72.Dt X509_STORE_CTX_GET_ERROR 3
73.Os 73.Os
74.Sh NAME 74.Sh NAME
@@ -86,8 +86,6 @@
86.Nm X509_STORE_CTX_get_chain , 86.Nm X509_STORE_CTX_get_chain ,
87.Nm X509_STORE_CTX_get1_chain , 87.Nm X509_STORE_CTX_get1_chain ,
88.Nm X509_STORE_CTX_set0_verified_chain , 88.Nm X509_STORE_CTX_set0_verified_chain ,
89.Nm X509_STORE_CTX_get0_policy_tree ,
90.Nm X509_STORE_CTX_get_explicit_policy ,
91.Nm X509_verify_cert_error_string 89.Nm X509_verify_cert_error_string
92.Nd get or set certificate verification status information 90.Nd get or set certificate verification status information
93.Sh SYNOPSIS 91.Sh SYNOPSIS
@@ -152,14 +150,6 @@
152.Fa "X509_STORE_CTX *ctx" 150.Fa "X509_STORE_CTX *ctx"
153.Fa "STACK_OF(X509) *chain" 151.Fa "STACK_OF(X509) *chain"
154.Fc 152.Fc
155.Ft X509_POLICY_TREE *
156.Fo X509_STORE_CTX_get0_policy_tree
157.Fa "X509_STORE_CTX *ctx"
158.Fc
159.Ft int
160.Fo X509_STORE_CTX_get_explicit_policy
161.Fa "X509_STORE_CTX *ctx"
162.Fc
163.In openssl/x509.h 153.In openssl/x509.h
164.Ft const char * 154.Ft const char *
165.Fo X509_verify_cert_error_string 155.Fo X509_verify_cert_error_string
@@ -337,24 +327,6 @@ return a pointer to a stack of certificates or
337.Dv NULL 327.Dv NULL
338if an error occurs. 328if an error occurs.
339.Pp 329.Pp
340.Fn X509_STORE_CTX_get0_policy_tree
341returns an internal pointer to the
342.Fa valid_policy_tree
343created by
344.Xr X509_policy_check 3
345or
346.Dv NULL
347if validation failed or the resulting tree was empty.
348.Pp
349.Fn X509_STORE_CTX_get_explicit_policy
350returns the
351.Pf * Fa pexplicit_policy
352output argument of
353.Xr X509_policy_check 3 .
354If validation succeeded, it is 1 if
355.Dv X509_V_FLAG_EXPLICIT_POLICY
356was requested or 0 otherwise.
357.Pp
358.Fn X509_verify_cert_error_string 330.Fn X509_verify_cert_error_string
359returns a human readable error string for verification error 331returns a human readable error string for verification error
360.Fa n . 332.Fa n .
@@ -576,8 +548,6 @@ This will never be returned unless explicitly set by an application.
576.\" No CA signature digest algorithm too weak 548.\" No CA signature digest algorithm too weak
577.El 549.El
578.Sh SEE ALSO 550.Sh SEE ALSO
579.Xr X509_policy_check 3 ,
580.Xr X509_policy_tree_level_count 3 ,
581.Xr X509_STORE_CTX_new 3 , 551.Xr X509_STORE_CTX_new 3 ,
582.Xr X509_STORE_CTX_set_verify 3 , 552.Xr X509_STORE_CTX_set_verify 3 ,
583.Xr X509_STORE_CTX_set_verify_cb 3 , 553.Xr X509_STORE_CTX_set_verify_cb 3 ,
@@ -599,12 +569,6 @@ first appeared in SSLeay 0.8.0 and have been available since
599first appeared in OpenSSL 0.9.5 and has been available since 569first appeared in OpenSSL 0.9.5 and has been available since
600.Ox 2.7 . 570.Ox 2.7 .
601.Pp 571.Pp
602.Fn X509_STORE_CTX_get0_policy_tree
603and
604.Fn X509_STORE_CTX_get_explicit_policy
605first appeared in OpenSSL 0.9.8 and have been available since
606.Ox 4.5 .
607.Pp
608.Fn X509_STORE_CTX_get0_current_issuer , 572.Fn X509_STORE_CTX_get0_current_issuer ,
609.Fn X509_STORE_CTX_get0_current_crl , 573.Fn X509_STORE_CTX_get0_current_crl ,
610and 574and