diff options
author | schwarze <> | 2021-07-23 16:43:56 +0000 |
---|---|---|
committer | schwarze <> | 2021-07-23 16:43:56 +0000 |
commit | 000da67d2fce6e73b4fd048c2900be19b078c6da (patch) | |
tree | f7bddc8d42cbfd0dcc28d65e76e40ace7b8bbb1f /src/lib | |
parent | 1f798b86128baf46564230e54a38af562356164b (diff) | |
download | openbsd-000da67d2fce6e73b4fd048c2900be19b078c6da.tar.gz openbsd-000da67d2fce6e73b4fd048c2900be19b078c6da.tar.bz2 openbsd-000da67d2fce6e73b4fd048c2900be19b078c6da.zip |
clarify the meaning of the argument of X509_VERIFY_PARAM_set_purpose(3)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3 | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3 b/src/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3 index 7fc559f7fd..ea3c867b8b 100644 --- a/src/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3 +++ b/src/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3 | |||
@@ -1,11 +1,11 @@ | |||
1 | .\" $OpenBSD: X509_VERIFY_PARAM_set_flags.3,v 1.16 2021/06/11 19:45:21 jmc Exp $ | 1 | .\" $OpenBSD: X509_VERIFY_PARAM_set_flags.3,v 1.17 2021/07/23 16:43:56 schwarze Exp $ |
2 | .\" full merge up to: OpenSSL d33def66 Feb 9 14:17:13 2016 -0500 | 2 | .\" full merge up to: OpenSSL d33def66 Feb 9 14:17:13 2016 -0500 |
3 | .\" selective merge up to: OpenSSL 6328d367 Jul 4 21:58:30 2020 +0200 | 3 | .\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 |
4 | .\" | 4 | .\" |
5 | .\" This file is a derived work. | 5 | .\" This file is a derived work. |
6 | .\" The changes are covered by the following Copyright and license: | 6 | .\" The changes are covered by the following Copyright and license: |
7 | .\" | 7 | .\" |
8 | .\" Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org> | 8 | .\" Copyright (c) 2018, 2021 Ingo Schwarze <schwarze@openbsd.org> |
9 | .\" | 9 | .\" |
10 | .\" Permission to use, copy, modify, and distribute this software for any | 10 | .\" Permission to use, copy, modify, and distribute this software for any |
11 | .\" purpose with or without fee is hereby granted, provided that the above | 11 | .\" purpose with or without fee is hereby granted, provided that the above |
@@ -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: June 11 2021 $ | 71 | .Dd $Mdocdate: July 23 2021 $ |
72 | .Dt X509_VERIFY_PARAM_SET_FLAGS 3 | 72 | .Dt X509_VERIFY_PARAM_SET_FLAGS 3 |
73 | .Os | 73 | .Os |
74 | .Sh NAME | 74 | .Sh NAME |
@@ -292,12 +292,18 @@ in | |||
292 | .Fa param . | 292 | .Fa param . |
293 | .Pp | 293 | .Pp |
294 | .Fn X509_VERIFY_PARAM_set_purpose | 294 | .Fn X509_VERIFY_PARAM_set_purpose |
295 | sets the verification purpose in | 295 | sets the verification |
296 | .Fa param | 296 | .Fa purpose |
297 | to | 297 | identifier in |
298 | .Fa purpose . | 298 | .Fa param . |
299 | This determines the acceptable purpose of the certificate chain, for | 299 | This determines the acceptable purpose of the certificate chain, for example |
300 | example SSL client or SSL server. | 300 | .Dv X509_PURPOSE_SSL_CLIENT |
301 | or | ||
302 | .Dv X509_PURPOSE_SSL_SERVER . | ||
303 | Standard purposes are listed in | ||
304 | .Xr X509_check_purpose 3 , | ||
305 | and additional purposes can be defined with | ||
306 | .Xr X509_PURPOSE_add 3 . | ||
301 | .Pp | 307 | .Pp |
302 | .Fn X509_VERIFY_PARAM_set_trust | 308 | .Fn X509_VERIFY_PARAM_set_trust |
303 | sets the trust setting in | 309 | sets the trust setting in |