summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-05-12 17:44:11 +0000
committertb <>2024-05-12 17:44:11 +0000
commit65ee9813d993aabe751741f1d76871c991f56508 (patch)
tree81f1225366f752818b70a56ab084a3dc1fd51a85
parent2a565ae0b228d1e19e4c32ae0cf82d539b7d511c (diff)
downloadopenbsd-65ee9813d993aabe751741f1d76871c991f56508.tar.gz
openbsd-65ee9813d993aabe751741f1d76871c991f56508.tar.bz2
openbsd-65ee9813d993aabe751741f1d76871c991f56508.zip
Be more specific about X509V3_ADD_APPEND and X509V3_ADD_DELETE
-rw-r--r--src/lib/libcrypto/man/X509V3_get_d2i.39
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/X509V3_get_d2i.3 b/src/lib/libcrypto/man/X509V3_get_d2i.3
index ed9e150c9b..6c406190a7 100644
--- a/src/lib/libcrypto/man/X509V3_get_d2i.3
+++ b/src/lib/libcrypto/man/X509V3_get_d2i.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509V3_get_d2i.3,v 1.21 2023/09/25 07:47:52 tb Exp $ 1.\" $OpenBSD: X509V3_get_d2i.3,v 1.22 2024/05/12 17:44:11 tb 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.\"
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: September 25 2023 $ 52.Dd $Mdocdate: May 12 2024 $
53.Dt X509V3_GET_D2I 3 53.Dt X509V3_GET_D2I 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -275,6 +275,8 @@ An error is returned if the extension does already exist.
275.Pp 275.Pp
276.Dv X509V3_ADD_APPEND 276.Dv X509V3_ADD_APPEND
277appends a new extension, ignoring whether the extension already exists. 277appends a new extension, ignoring whether the extension already exists.
278This is a misfeature and should not be used because certificates must
279not include the same extension more than once.
278.Pp 280.Pp
279.Dv X509V3_ADD_REPLACE 281.Dv X509V3_ADD_REPLACE
280replaces an extension if it exists otherwise appends a new extension. 282replaces an extension if it exists otherwise appends a new extension.
@@ -290,7 +292,8 @@ returned if the extension does already exist.
290.Pp 292.Pp
291.Dv X509V3_ADD_DELETE 293.Dv X509V3_ADD_DELETE
292deletes extension 294deletes extension
293.Fa nid . 295.Fa nid
296if it exists and errors otherwise.
294No new extension is added. 297No new extension is added.
295.Pp 298.Pp
296If 299If