diff options
author | tb <> | 2021-11-23 17:06:05 +0000 |
---|---|---|
committer | tb <> | 2021-11-23 17:06:05 +0000 |
commit | a5226e473caa4f9f38500526782e41fc5069c371 (patch) | |
tree | 832bcef4005d5b9835b2df440c80fef81de1028a /src | |
parent | 4f3472fc5bfb7c360db69e0795df95f0edeb055d (diff) | |
download | openbsd-a5226e473caa4f9f38500526782e41fc5069c371.tar.gz openbsd-a5226e473caa4f9f38500526782e41fc5069c371.tar.bz2 openbsd-a5226e473caa4f9f38500526782e41fc5069c371.zip |
Use LIBRESSL_NEXT_API to document the commented-out functions that are
not yet available.
ok schwarze
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/X509_STORE_CTX_set_verify.3 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/libcrypto/man/X509_STORE_CTX_set_verify.3 b/src/lib/libcrypto/man/X509_STORE_CTX_set_verify.3 index a68ade6b3f..ccce6a0eb1 100644 --- a/src/lib/libcrypto/man/X509_STORE_CTX_set_verify.3 +++ b/src/lib/libcrypto/man/X509_STORE_CTX_set_verify.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: X509_STORE_CTX_set_verify.3,v 1.1 2021/11/17 16:08:32 schwarze Exp $ | 1 | .\" $OpenBSD: X509_STORE_CTX_set_verify.3,v 1.2 2021/11/23 17:06:05 tb Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,16 +14,16 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: November 17 2021 $ | 17 | .Dd $Mdocdate: November 23 2021 $ |
18 | .Dt X509_STORE_CTX_SET_VERIFY 3 | 18 | .Dt X509_STORE_CTX_SET_VERIFY 3 |
19 | .Os | 19 | .Os |
20 | .\" ds LIBRESSL_NEW_API | 20 | .\" ds LIBRESSL_NEXT_API |
21 | .Sh NAME | 21 | .Sh NAME |
22 | .if dLIBRESSL_NEW_API \{\ | 22 | .if dLIBRESSL_NEXT_API \{\ |
23 | .Nm X509_STORE_CTX_verify_fn , | 23 | .Nm X509_STORE_CTX_verify_fn , |
24 | .\} | 24 | .\} |
25 | .Nm X509_STORE_CTX_set_verify , | 25 | .Nm X509_STORE_CTX_set_verify , |
26 | .ie dLIBRESSL_NEW_API \{\ | 26 | .ie dLIBRESSL_NEXT_API \{\ |
27 | .Nm X509_STORE_CTX_get_verify , | 27 | .Nm X509_STORE_CTX_get_verify , |
28 | .Nm X509_STORE_set_verify , | 28 | .Nm X509_STORE_set_verify , |
29 | .Nm X509_STORE_set_verify_func | 29 | .Nm X509_STORE_set_verify_func |
@@ -34,7 +34,7 @@ | |||
34 | .Nd user-defined certificate chain verification function | 34 | .Nd user-defined certificate chain verification function |
35 | .Sh SYNOPSIS | 35 | .Sh SYNOPSIS |
36 | .In openssl/x509_vfy.h | 36 | .In openssl/x509_vfy.h |
37 | .if dLIBRESSL_NEW_API \{\ | 37 | .if dLIBRESSL_NEXT_API \{\ |
38 | .Ft typedef int | 38 | .Ft typedef int |
39 | .Fo "(*X509_STORE_CTX_verify_fn)" | 39 | .Fo "(*X509_STORE_CTX_verify_fn)" |
40 | .Fa "X509_STORE_CTX *ctx" | 40 | .Fa "X509_STORE_CTX *ctx" |
@@ -43,14 +43,14 @@ | |||
43 | .Ft void | 43 | .Ft void |
44 | .Fo X509_STORE_CTX_set_verify | 44 | .Fo X509_STORE_CTX_set_verify |
45 | .Fa "X509_STORE_CTX *ctx" | 45 | .Fa "X509_STORE_CTX *ctx" |
46 | .ie dLIBRESSL_NEW_API \{\ | 46 | .ie dLIBRESSL_NEXT_API \{\ |
47 | .Fa "X509_STORE_CTX_verify_fn verify" | 47 | .Fa "X509_STORE_CTX_verify_fn verify" |
48 | .\} | 48 | .\} |
49 | .el \{\ | 49 | .el \{\ |
50 | .Fa "int (*verify)(X509_STORE_CTX *)" | 50 | .Fa "int (*verify)(X509_STORE_CTX *)" |
51 | .\} | 51 | .\} |
52 | .Fc | 52 | .Fc |
53 | .ie dLIBRESSL_NEW_API \{\ | 53 | .ie dLIBRESSL_NEXT_API \{\ |
54 | .Ft X509_STORE_CTX_verify_fn | 54 | .Ft X509_STORE_CTX_verify_fn |
55 | .Fo X509_STORE_CTX_get_verify | 55 | .Fo X509_STORE_CTX_get_verify |
56 | .\} | 56 | .\} |
@@ -60,7 +60,7 @@ | |||
60 | .\} | 60 | .\} |
61 | .Fa "X509_STORE_CTX *ctx" | 61 | .Fa "X509_STORE_CTX *ctx" |
62 | .Fc | 62 | .Fc |
63 | .if dLIBRESSL_NEW_API \{\ | 63 | .if dLIBRESSL_NEXT_API \{\ |
64 | .Ft void | 64 | .Ft void |
65 | .Fo X509_STORE_set_verify | 65 | .Fo X509_STORE_set_verify |
66 | .Fa "X509_STORE *store" | 66 | .Fa "X509_STORE *store" |
@@ -97,7 +97,7 @@ or | |||
97 | .Xr X509_VERIFY_PARAM_set_flags 3 . | 97 | .Xr X509_VERIFY_PARAM_set_flags 3 . |
98 | Otherwise, it is ignored and a different algorithm is used that does | 98 | Otherwise, it is ignored and a different algorithm is used that does |
99 | not support replacing the verification function. | 99 | not support replacing the verification function. |
100 | .if dLIBRESSL_NEW_API \{\ | 100 | .if dLIBRESSL_NEXT_API \{\ |
101 | .Pp | 101 | .Pp |
102 | .Fn X509_STORE_set_verify | 102 | .Fn X509_STORE_set_verify |
103 | saves the function pointer | 103 | saves the function pointer |
@@ -118,7 +118,7 @@ is an alias for | |||
118 | implemented as a macro. | 118 | implemented as a macro. |
119 | .\} | 119 | .\} |
120 | .Sh RETURN VALUES | 120 | .Sh RETURN VALUES |
121 | .if dLIBRESSL_NEW_API \{\ | 121 | .if dLIBRESSL_NEXT_API \{\ |
122 | .Fn X509_STORE_CTX_verify_fn | 122 | .Fn X509_STORE_CTX_verify_fn |
123 | is supposed to return 1 to indicate that the chain is valid | 123 | is supposed to return 1 to indicate that the chain is valid |
124 | or 0 if it is not or if an error occurred. | 124 | or 0 if it is not or if an error occurred. |
@@ -145,7 +145,7 @@ is uninitialized. | |||
145 | .Xr X509_verify_cert 3 , | 145 | .Xr X509_verify_cert 3 , |
146 | .Xr X509_VERIFY_PARAM_set_flags 3 | 146 | .Xr X509_VERIFY_PARAM_set_flags 3 |
147 | .Sh HISTORY | 147 | .Sh HISTORY |
148 | .if dLIBRESSL_NEW_API \{\ | 148 | .if dLIBRESSL_NEXT_API \{\ |
149 | .Fn X509_STORE_set_verify_func | 149 | .Fn X509_STORE_set_verify_func |
150 | first appeared in SSLeay 0.8.0 and has been available since | 150 | first appeared in SSLeay 0.8.0 and has been available since |
151 | .Ox 2.4 . | 151 | .Ox 2.4 . |
@@ -156,7 +156,7 @@ and | |||
156 | .Fn X509_STORE_CTX_get_verify | 156 | .Fn X509_STORE_CTX_get_verify |
157 | first appeared in OpenSSL 1.1.0 and have been available since | 157 | first appeared in OpenSSL 1.1.0 and have been available since |
158 | .Ox 7.1 . | 158 | .Ox 7.1 . |
159 | .if dLIBRESSL_NEW_API \{\ | 159 | .if dLIBRESSL_NEXT_API \{\ |
160 | .Pp | 160 | .Pp |
161 | .Fn X509_STORE_CTX_verify_fn | 161 | .Fn X509_STORE_CTX_verify_fn |
162 | and | 162 | and |