summaryrefslogtreecommitdiff
path: root/secure/lib/libcrypto/man/man3/d2i_X509.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/man/man3/d2i_X509.3')
-rw-r--r--secure/lib/libcrypto/man/man3/d2i_X509.320
1 files changed, 11 insertions, 9 deletions
diff --git a/secure/lib/libcrypto/man/man3/d2i_X509.3 b/secure/lib/libcrypto/man/man3/d2i_X509.3
index 2dd051404e39..0dc8b5790345 100644
--- a/secure/lib/libcrypto/man/man3/d2i_X509.3
+++ b/secure/lib/libcrypto/man/man3/d2i_X509.3
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.40)
+.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40)
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "D2I_X509 3"
-.TH D2I_X509 3 "2020-04-21" "1.1.1g" "OpenSSL"
+.TH D2I_X509 3 "2020-09-22" "1.1.1h" "OpenSSL"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -143,7 +143,7 @@ d2i_ACCESS_DESCRIPTION, d2i_ADMISSIONS, d2i_ADMISSION_SYNTAX, d2i_ASIdOrRange, d
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 3
-\& TYPE *d2i_TYPE(TYPE **a, unsigned char **ppin, long length);
+\& TYPE *d2i_TYPE(TYPE **a, const unsigned char **ppin, long length);
\& TYPE *d2i_TYPE_bio(BIO *bp, TYPE **a);
\& TYPE *d2i_TYPE_fp(FILE *fp, TYPE **a);
\&
@@ -213,8 +213,8 @@ The actual \s-1TYPE\s0 structure passed to \fBi2d_TYPE()\fR must be a valid
populated \fB\s-1TYPE\s0\fR structure \*(-- it \fBcannot\fR simply be fed with an
empty structure such as that returned by \fBTYPE_new()\fR.
.PP
-The encoded data is in binary form and may contain embedded zeroes.
-Therefore any \s-1FILE\s0 pointers or BIOs should be opened in binary mode.
+The encoded data is in binary form and may contain embedded zeros.
+Therefore, any \s-1FILE\s0 pointers or BIOs should be opened in binary mode.
Functions such as \fBstrlen()\fR will \fBnot\fR return the correct length
of the encoded structure.
.PP
@@ -290,9 +290,10 @@ Allocate and encode the \s-1DER\s0 encoding of an X509 structure:
.PP
Attempt to decode a buffer:
.PP
-.Vb 3
+.Vb 4
\& X509 *x;
-\& unsigned char *buf, *p;
+\& unsigned char *buf;
+\& const unsigned char *p;
\& int len;
\&
\& /* Set up buf and len to point to the input buffer. */
@@ -304,9 +305,10 @@ Attempt to decode a buffer:
.PP
Alternative technique:
.PP
-.Vb 3
+.Vb 4
\& X509 *x;
-\& unsigned char *buf, *p;
+\& unsigned char *buf;
+\& const unsigned char *p;
\& int len;
\&
\& /* Set up buf and len to point to the input buffer. */