summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2021-07-22 19:44:30 +0000
committerschwarze <>2021-07-22 19:44:30 +0000
commit52c752abbfa5fd86691977a8efbd207ffd342cd3 (patch)
tree0b3f3fb352f0f59c8c0d4c5d1475347c252a26cf /src
parent774f404e615976d63468b743850d37abdb9e0340 (diff)
downloadopenbsd-52c752abbfa5fd86691977a8efbd207ffd342cd3.tar.gz
openbsd-52c752abbfa5fd86691977a8efbd207ffd342cd3.tar.bz2
openbsd-52c752abbfa5fd86691977a8efbd207ffd342cd3.zip
document X509_STORE_CTX_set_time(3) and X509_STORE_CTX_set_depth(3)
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/X509_STORE_CTX_set_flags.336
1 files changed, 34 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/X509_STORE_CTX_set_flags.3 b/src/lib/libcrypto/man/X509_STORE_CTX_set_flags.3
index f15ec5f16f..d84b1e7ae4 100644
--- a/src/lib/libcrypto/man/X509_STORE_CTX_set_flags.3
+++ b/src/lib/libcrypto/man/X509_STORE_CTX_set_flags.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_STORE_CTX_set_flags.3,v 1.1 2021/07/22 17:11:14 schwarze Exp $ 1.\" $OpenBSD: X509_STORE_CTX_set_flags.3,v 1.2 2021/07/22 19:44:30 schwarze Exp $
2.\" full merge up to: OpenSSL aae41f8c Jun 25 09:47:15 2015 +0100 2.\" full merge up to: OpenSSL aae41f8c Jun 25 09:47:15 2015 +0100
3.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 3.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100
4.\" 4.\"
@@ -72,6 +72,8 @@
72.Os 72.Os
73.Sh NAME 73.Sh NAME
74.Nm X509_STORE_CTX_set_flags , 74.Nm X509_STORE_CTX_set_flags ,
75.Nm X509_STORE_CTX_set_time ,
76.Nm X509_STORE_CTX_set_depth ,
75.Nm X509_STORE_CTX_get0_param , 77.Nm X509_STORE_CTX_get0_param ,
76.Nm X509_STORE_CTX_set0_param , 78.Nm X509_STORE_CTX_set0_param ,
77.Nm X509_STORE_CTX_set_default 79.Nm X509_STORE_CTX_set_default
@@ -83,6 +85,17 @@
83.Fa "X509_STORE_CTX *ctx" 85.Fa "X509_STORE_CTX *ctx"
84.Fa "unsigned long flags" 86.Fa "unsigned long flags"
85.Fc 87.Fc
88.Ft void
89.Fo X509_STORE_CTX_set_time
90.Fa "X509_STORE_CTX *ctx"
91.Fa "unsigned long dummy"
92.Fa "time_t time"
93.Fc
94.Ft void
95.Fo X509_STORE_CTX_set_depth
96.Fa "X509_STORE_CTX *ctx"
97.Fa "int depth"
98.Fc
86.Ft X509_VERIFY_PARAM * 99.Ft X509_VERIFY_PARAM *
87.Fo X509_STORE_CTX_get0_param 100.Fo X509_STORE_CTX_get0_param
88.Fa "X509_STORE_CTX *ctx" 101.Fa "X509_STORE_CTX *ctx"
@@ -117,6 +130,19 @@ See
117.Xr X509_VERIFY_PARAM_set_flags 3 130.Xr X509_VERIFY_PARAM_set_flags 3
118for a description of the verification flags. 131for a description of the verification flags.
119.Pp 132.Pp
133.Fn X509_STORE_CTX_set_time
134sets the verification
135.Fa time .
136The
137.Fa dummy
138argument is ignored.
139.Pp
140.Fn X509_STORE_CTX_set_depth
141sets the maximum verification
142.Fa depth .
143That is the maximum number of untrusted CA certificates
144that can appear in a chain.
145.Pp
120.Fn X509_STORE_CTX_get0_param 146.Fn X509_STORE_CTX_get0_param
121retrieves an internal pointer to the verification parameters associated 147retrieves an internal pointer to the verification parameters associated
122with 148with
@@ -154,8 +180,14 @@ returns 1 for success or 0 if an error occurred.
154.Xr X509_verify_cert 3 , 180.Xr X509_verify_cert 3 ,
155.Xr X509_VERIFY_PARAM_set_flags 3 181.Xr X509_VERIFY_PARAM_set_flags 3
156.Sh HISTORY 182.Sh HISTORY
183.Fn X509_STORE_CTX_set_depth
184first appeared in OpenSSL 0.9.3 and has been available since
185.Ox 2.4 .
186.Pp
157.Fn X509_STORE_CTX_set_flags 187.Fn X509_STORE_CTX_set_flags
158first appeared in OpenSSL 0.9.6 and has been available since 188and
189.Fn X509_STORE_CTX_set_time
190first appeared in OpenSSL 0.9.6 and have been available since
159.Ox 2.9 . 191.Ox 2.9 .
160.Pp 192.Pp
161.Fn X509_STORE_CTX_get0_param , 193.Fn X509_STORE_CTX_get0_param ,