summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2021-10-27 10:35:43 +0000
committerschwarze <>2021-10-27 10:35:43 +0000
commit8a9538a5a84ba6efd2cdbfd54246c31173484e59 (patch)
treed28b766e3addd41a23ee40f4a966541eb16049c5
parentb2a89f9426f1ee215d9d57cad8342591dc19aac3 (diff)
downloadopenbsd-8a9538a5a84ba6efd2cdbfd54246c31173484e59.tar.gz
openbsd-8a9538a5a84ba6efd2cdbfd54246c31173484e59.tar.bz2
openbsd-8a9538a5a84ba6efd2cdbfd54246c31173484e59.zip
Minor tweaks:
* Say "number of bytes" instead of "length of bytes". * Remove mention of a BUGS section that exists neither here nor in OpenSSL. * List all authors who contributed Copyright-worthy amounts of text. * Remove years from the Copyright line that saw no non-trivial changes. * Add the year 2014: that's when Emilia wrote the i2d_re_X509_tbs() text. * Improve merge comments.
-rw-r--r--src/lib/libcrypto/man/d2i_X509.321
1 files changed, 12 insertions, 9 deletions
diff --git a/src/lib/libcrypto/man/d2i_X509.3 b/src/lib/libcrypto/man/d2i_X509.3
index 12163d9e48..6102e49e0e 100644
--- a/src/lib/libcrypto/man/d2i_X509.3
+++ b/src/lib/libcrypto/man/d2i_X509.3
@@ -1,6 +1,8 @@
1.\" $OpenBSD: d2i_X509.3,v 1.10 2021/10/26 23:37:56 tb Exp $ 1.\" $OpenBSD: d2i_X509.3,v 1.11 2021/10/27 10:35:43 schwarze Exp $
2.\" OpenSSL 94480b57 Sep 12 23:34:41 2009 +0000 2.\" OpenSSL d2i_X509.pod checked up to:
3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 3.\" 256989ce4 Jun 19 15:00:32 2020 +0200
4.\" OpenSSL i2d_re_X509_tbs.pod checked up to:
5.\" 61f805c1 Jan 16 01:01:46 2018 +0800
4.\" 6.\"
5.\" This file is a derived work. 7.\" This file is a derived work.
6.\" The changes are covered by the following Copyright and license: 8.\" The changes are covered by the following Copyright and license:
@@ -19,8 +21,10 @@
19.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 21.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
20.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 22.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21.\" 23.\"
22.\" The original files were written by Dr. Stephen Henson <steve@openssl.org>. 24.\" The original files were written by Dr. Stephen Henson <steve@openssl.org>,
23.\" Copyright (c) 2002, 2003, 2005, 2009, 2016 The OpenSSL Project. 25.\" Emilia Kasper <emilia@openssl.org>, Viktor Dukhovni <viktor@openssl.org>,
26.\" and Rich Salz <rsalz@openssl.org>.
27.\" Copyright (c) 2002, 2014, 2016 The OpenSSL Project.
24.\" All rights reserved. 28.\" All rights reserved.
25.\" 29.\"
26.\" Redistribution and use in source and binary forms, with or without 30.\" Redistribution and use in source and binary forms, with or without
@@ -67,7 +71,7 @@
67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 71.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
68.\" OF THE POSSIBILITY OF SUCH DAMAGE. 72.\" OF THE POSSIBILITY OF SUCH DAMAGE.
69.\" 73.\"
70.Dd $Mdocdate: October 26 2021 $ 74.Dd $Mdocdate: October 27 2021 $
71.Dt D2I_X509 3 75.Dt D2I_X509 3
72.Os 76.Os
73.Sh NAME 77.Sh NAME
@@ -252,8 +256,7 @@ are analogous for CRL and certificate request, respectively.
252The "re" in 256The "re" in
253.Fn i2d_re_X509_tbs 257.Fn i2d_re_X509_tbs
254stands for "re-encode", and ensures that a fresh encoding is generated 258stands for "re-encode", and ensures that a fresh encoding is generated
255in case the object has been modified after creation (see the BUGS 259in case the object has been modified after creation.
256section).
257.Pp 260.Pp
258The encoding of the TBSCertificate portion of a certificate is cached in 261The encoding of the TBSCertificate portion of a certificate is cached in
259the 262the
@@ -314,7 +317,7 @@ return 1 for success or 0 if an error occurs.
314.Fn i2d_re_X509_CRL_tbs , 317.Fn i2d_re_X509_CRL_tbs ,
315and 318and
316.Fn i2d_re_X509_REQ_tbs 319.Fn i2d_re_X509_REQ_tbs
317return the length of bytes successfully encoded or 0 if an error occurs. 320return the number of bytes successfully encoded or 0 if an error occurs.
318.Pp 321.Pp
319For all functions, the error code can be obtained by 322For all functions, the error code can be obtained by
320.Xr ERR_get_error 3 . 323.Xr ERR_get_error 3 .