summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/d2i_X509.pod
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/doc/d2i_X509.pod')
-rw-r--r--src/lib/libcrypto/doc/d2i_X509.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/doc/d2i_X509.pod b/src/lib/libcrypto/doc/d2i_X509.pod
index 5e3c3d0985..5bfa18afbb 100644
--- a/src/lib/libcrypto/doc/d2i_X509.pod
+++ b/src/lib/libcrypto/doc/d2i_X509.pod
@@ -9,7 +9,7 @@ i2d_X509_fp - X509 encode and decode functions
9 9
10 #include <openssl/x509.h> 10 #include <openssl/x509.h>
11 11
12 X509 *d2i_X509(X509 **px, unsigned char **in, int len); 12 X509 *d2i_X509(X509 **px, const unsigned char **in, int len);
13 int i2d_X509(X509 *x, unsigned char **out); 13 int i2d_X509(X509 *x, unsigned char **out);
14 14
15 X509 *d2i_X509_bio(BIO *bp, X509 **x); 15 X509 *d2i_X509_bio(BIO *bp, X509 **x);
@@ -23,13 +23,13 @@ i2d_X509_fp - X509 encode and decode functions
23The X509 encode and decode routines encode and parse an 23The X509 encode and decode routines encode and parse an
24B<X509> structure, which represents an X509 certificate. 24B<X509> structure, which represents an X509 certificate.
25 25
26d2i_X509() attempts to decode B<len> bytes at B<*out>. If 26d2i_X509() attempts to decode B<len> bytes at B<*in>. If
27successful a pointer to the B<X509> structure is returned. If an error 27successful a pointer to the B<X509> structure is returned. If an error
28occurred then B<NULL> is returned. If B<px> is not B<NULL> then the 28occurred then B<NULL> is returned. If B<px> is not B<NULL> then the
29returned structure is written to B<*px>. If B<*px> is not B<NULL> 29returned structure is written to B<*px>. If B<*px> is not B<NULL>
30then it is assumed that B<*px> contains a valid B<X509> 30then it is assumed that B<*px> contains a valid B<X509>
31structure and an attempt is made to reuse it. If the call is 31structure and an attempt is made to reuse it. If the call is
32successful B<*out> is incremented to the byte following the 32successful B<*in> is incremented to the byte following the
33parsed data. 33parsed data.
34 34
35i2d_X509() encodes the structure pointed to by B<x> into DER format. 35i2d_X509() encodes the structure pointed to by B<x> into DER format.