diff options
author | schwarze <> | 2024-12-28 12:02:35 +0000 |
---|---|---|
committer | schwarze <> | 2024-12-28 12:02:35 +0000 |
commit | bae218658a20a862ba8738d3fbf90172048f4741 (patch) | |
tree | 0f83abaf735faab585ec1c6e6d977831595926bc | |
parent | de9ea4e9be643d0e11646c7435e6fa3ed0a1a028 (diff) | |
download | openbsd-bae218658a20a862ba8738d3fbf90172048f4741.tar.gz openbsd-bae218658a20a862ba8738d3fbf90172048f4741.tar.bz2 openbsd-bae218658a20a862ba8738d3fbf90172048f4741.zip |
Document X509V3_ADD_OP_MASK and clarify the description of the flags argument.
While here, also add a (c) line for tb@ because he added Copyright-worthy
amounts of text to this page during the last two years.
-rw-r--r-- | src/lib/libcrypto/man/X509V3_get_d2i.3 | 36 |
1 files changed, 31 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/X509V3_get_d2i.3 b/src/lib/libcrypto/man/X509V3_get_d2i.3 index f9d1e46755..b253a6809d 100644 --- a/src/lib/libcrypto/man/X509V3_get_d2i.3 +++ b/src/lib/libcrypto/man/X509V3_get_d2i.3 | |||
@@ -1,8 +1,26 @@ | |||
1 | .\" $OpenBSD: X509V3_get_d2i.3,v 1.23 2024/05/15 21:15:28 tb Exp $ | 1 | .\" $OpenBSD: X509V3_get_d2i.3,v 1.24 2024/12/28 12:02:35 schwarze Exp $ |
2 | .\" full merge up to: OpenSSL ff7fbfd5 Nov 2 11:52:01 2015 +0000 | 2 | .\" full merge up to: OpenSSL ff7fbfd5 Nov 2 11:52:01 2015 +0000 |
3 | .\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 | 3 | .\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 |
4 | .\" | 4 | .\" |
5 | .\" This file was written by Dr. Stephen Henson <steve@openssl.org>. | 5 | .\" This file is a derived work. |
6 | .\" The changes are covered by the following Copyright and license: | ||
7 | .\" | ||
8 | .\" Copyright (c) 2023, 2024 Theo Buehler <tb@openbsd.org> | ||
9 | .\" Copyright (c) 2024 Ingo Schwarze <schwarze@openbsd.org> | ||
10 | .\" | ||
11 | .\" Permission to use, copy, modify, and distribute this software for any | ||
12 | .\" purpose with or without fee is hereby granted, provided that the above | ||
13 | .\" copyright notice and this permission notice appear in all copies. | ||
14 | .\" | ||
15 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
16 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
17 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
18 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
19 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
20 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
21 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
22 | .\" | ||
23 | .\" The original file was written by Dr. Stephen Henson <steve@openssl.org>. | ||
6 | .\" Copyright (c) 2014, 2015, 2016 The OpenSSL Project. All rights reserved. | 24 | .\" Copyright (c) 2014, 2015, 2016 The OpenSSL Project. All rights reserved. |
7 | .\" | 25 | .\" |
8 | .\" Redistribution and use in source and binary forms, with or without | 26 | .\" Redistribution and use in source and binary forms, with or without |
@@ -49,7 +67,7 @@ | |||
49 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 67 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 68 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | .\" | 69 | .\" |
52 | .Dd $Mdocdate: May 15 2024 $ | 70 | .Dd $Mdocdate: December 28 2024 $ |
53 | .Dt X509V3_GET_D2I 3 | 71 | .Dt X509V3_GET_D2I 3 |
54 | .Os | 72 | .Os |
55 | .Sh NAME | 73 | .Sh NAME |
@@ -267,7 +285,13 @@ parameter is usually | |||
267 | .Pp | 285 | .Pp |
268 | The | 286 | The |
269 | .Fa flags | 287 | .Fa flags |
270 | parameter may be one of the following values. | 288 | argument consists of two parts OR'ed together: |
289 | the operation mode and the optional silent flag. | ||
290 | The operation mode is the bitwise OR of the | ||
291 | .Fa flags | ||
292 | and the bitmask | ||
293 | .Dv X509V3_ADD_OP_MASK . | ||
294 | The following operation modes are recognized: | ||
271 | .Pp | 295 | .Pp |
272 | .Dv X509V3_ADD_DEFAULT | 296 | .Dv X509V3_ADD_DEFAULT |
273 | appends a new extension only if the extension does not already exist. | 297 | appends a new extension only if the extension does not already exist. |
@@ -296,9 +320,11 @@ deletes extension | |||
296 | if it exists and errors otherwise. | 320 | if it exists and errors otherwise. |
297 | No new extension is added. | 321 | No new extension is added. |
298 | .Pp | 322 | .Pp |
323 | Any other operation mode results in an error. | ||
324 | .Pp | ||
299 | If | 325 | If |
300 | .Dv X509V3_ADD_SILENT | 326 | .Dv X509V3_ADD_SILENT |
301 | is OR'd with | 327 | is OR'd into the |
302 | .Fa flags , | 328 | .Fa flags , |
303 | any error returned will not be added to the error queue. | 329 | any error returned will not be added to the error queue. |
304 | .Pp | 330 | .Pp |