diff options
Diffstat (limited to 'src/lib/libcrypto/doc/d2i_X509.pod')
-rw-r--r-- | src/lib/libcrypto/doc/d2i_X509.pod | 6 |
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 | |||
23 | The X509 encode and decode routines encode and parse an | 23 | The X509 encode and decode routines encode and parse an |
24 | B<X509> structure, which represents an X509 certificate. | 24 | B<X509> structure, which represents an X509 certificate. |
25 | 25 | ||
26 | d2i_X509() attempts to decode B<len> bytes at B<*out>. If | 26 | d2i_X509() attempts to decode B<len> bytes at B<*in>. If |
27 | successful a pointer to the B<X509> structure is returned. If an error | 27 | successful a pointer to the B<X509> structure is returned. If an error |
28 | occurred then B<NULL> is returned. If B<px> is not B<NULL> then the | 28 | occurred then B<NULL> is returned. If B<px> is not B<NULL> then the |
29 | returned structure is written to B<*px>. If B<*px> is not B<NULL> | 29 | returned structure is written to B<*px>. If B<*px> is not B<NULL> |
30 | then it is assumed that B<*px> contains a valid B<X509> | 30 | then it is assumed that B<*px> contains a valid B<X509> |
31 | structure and an attempt is made to reuse it. If the call is | 31 | structure and an attempt is made to reuse it. If the call is |
32 | successful B<*out> is incremented to the byte following the | 32 | successful B<*in> is incremented to the byte following the |
33 | parsed data. | 33 | parsed data. |
34 | 34 | ||
35 | i2d_X509() encodes the structure pointed to by B<x> into DER format. | 35 | i2d_X509() encodes the structure pointed to by B<x> into DER format. |