From: Dr. Stephen Henson Date: Tue, 8 Apr 2008 22:35:32 +0000 (+0000) Subject: Correct d2i/i2d typos. X-Git-Tag: OpenSSL_0_9_8k^2~464 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9034c56c6c71ac68f25f195300e3d7b129280824;p=thirdparty%2Fopenssl.git Correct d2i/i2d typos. --- diff --git a/doc/crypto/CMS_encrypt.pod b/doc/crypto/CMS_encrypt.pod index d6cd47f600d..4ba2b22da4f 100644 --- a/doc/crypto/CMS_encrypt.pod +++ b/doc/crypto/CMS_encrypt.pod @@ -71,7 +71,7 @@ B complete and outputting its contents via a function that does not properly finalize the B structure will give unpredictable results. -Several functions including SMIME_write_CMS(), d2i_CMS_bio_stream(), +Several functions including SMIME_write_CMS(), i2d_CMS_bio_stream(), PEM_write_bio_CMS_stream() finalize the structure. Alternatively finalization can be performed by obtaining the streaming ASN1 B directly using BIO_new_CMS(). diff --git a/doc/crypto/CMS_sign.pod b/doc/crypto/CMS_sign.pod index 8f573018c22..3047b283a4b 100644 --- a/doc/crypto/CMS_sign.pod +++ b/doc/crypto/CMS_sign.pod @@ -77,7 +77,7 @@ B complete and outputting its contents via a function that does not properly finalize the B structure will give unpredictable results. -Several functions including SMIME_write_CMS(), d2i_CMS_bio_stream(), +Several functions including SMIME_write_CMS(), i2d_CMS_bio_stream(), PEM_write_bio_CMS_stream() finalize the structure. Alternatively finalization can be performed by obtaining the streaming ASN1 B directly using BIO_new_CMS(). diff --git a/doc/crypto/PEM_write_bio_CMS_stream.pod b/doc/crypto/PEM_write_bio_CMS_stream.pod index 0d88551b973..bbb865a3712 100644 --- a/doc/crypto/PEM_write_bio_CMS_stream.pod +++ b/doc/crypto/PEM_write_bio_CMS_stream.pod @@ -32,7 +32,7 @@ L, L, L, L L, L, -L +L =head1 HISTORY diff --git a/doc/crypto/PEM_write_bio_PKCS7_stream.pod b/doc/crypto/PEM_write_bio_PKCS7_stream.pod index d7e6508c4e4..afa760831ea 100644 --- a/doc/crypto/PEM_write_bio_PKCS7_stream.pod +++ b/doc/crypto/PEM_write_bio_PKCS7_stream.pod @@ -32,7 +32,7 @@ L, L, L, L L, L, -L +L =head1 HISTORY diff --git a/doc/crypto/PKCS7_encrypt.pod b/doc/crypto/PKCS7_encrypt.pod index c17cb8d1e94..035220aa162 100644 --- a/doc/crypto/PKCS7_encrypt.pod +++ b/doc/crypto/PKCS7_encrypt.pod @@ -58,7 +58,7 @@ complete and outputting its contents via a function that does not properly finalize the B structure will give unpredictable results. -Several functions including SMIME_write_PKCS7(), d2i_PKCS7_bio_stream(), +Several functions including SMIME_write_PKCS7(), i2d_PKCS7_bio_stream(), PEM_write_bio_PKCS7_stream() finalize the structure. Alternatively finalization can be performed by obtaining the streaming ASN1 B directly using BIO_new_PKCS7(). diff --git a/doc/crypto/PKCS7_sign.pod b/doc/crypto/PKCS7_sign.pod index b10df260448..6f781b19256 100644 --- a/doc/crypto/PKCS7_sign.pod +++ b/doc/crypto/PKCS7_sign.pod @@ -72,7 +72,7 @@ If the flag B is set the returned B structure is B complete and outputting its contents via a function that does not properly finalize the B structure will give unpredictable results. -Several functions including SMIME_write_PKCS7(), d2i_PKCS7_bio_stream(), +Several functions including SMIME_write_PKCS7(), i2d_PKCS7_bio_stream(), PEM_write_bio_PKCS7_stream() finalize the structure. Alternatively finalization can be performed by obtaining the streaming ASN1 B directly using BIO_new_PKCS7(). diff --git a/doc/crypto/i2d_CMS_bio_stream.pod b/doc/crypto/i2d_CMS_bio_stream.pod index 6d499375f8c..d8b8e581568 100644 --- a/doc/crypto/i2d_CMS_bio_stream.pod +++ b/doc/crypto/i2d_CMS_bio_stream.pod @@ -2,7 +2,7 @@ =head1 NAME -d2i_CMS_bio_stream - output CMS_ContentInfo structure in BER format. +i2d_CMS_bio_stream - output CMS_ContentInfo structure in BER format. =head1 SYNOPSIS @@ -39,6 +39,6 @@ L =head1 HISTORY -d2i_CMS_bio_stream() was added to OpenSSL 0.9.9 +i2d_CMS_bio_stream() was added to OpenSSL 0.9.9 =cut diff --git a/doc/crypto/d2i_PKCS7_bio_stream.pod b/doc/crypto/i2d_PKCS7_bio_stream.pod similarity index 69% rename from doc/crypto/d2i_PKCS7_bio_stream.pod rename to doc/crypto/i2d_PKCS7_bio_stream.pod index 95708614531..c7da2fa98e8 100644 --- a/doc/crypto/d2i_PKCS7_bio_stream.pod +++ b/doc/crypto/i2d_PKCS7_bio_stream.pod @@ -2,17 +2,17 @@ =head1 NAME -d2i_PKCS7_bio_stream - output PKCS7 structure in BER format. +i2d_PKCS7_bio_stream - output PKCS7 structure in BER format. =head1 SYNOPSIS #include - int d2i_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *data, int flags); + int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *data, int flags); =head1 DESCRIPTION -d2i_PKCS7_bio_stream() outputs a PKCS7 structure in BER format. +i2d_PKCS7_bio_stream() outputs a PKCS7 structure in BER format. It is otherwise identical to the function SMIME_write_PKCS7(). @@ -27,7 +27,7 @@ The prefix "d2i" is arguably wrong because the function outputs BER format. =head1 RETURN VALUES -d2i_PKCS7_bio_stream() returns 1 for success or 0 for failure. +i2d_PKCS7_bio_stream() returns 1 for success or 0 for failure. =head1 SEE ALSO @@ -39,6 +39,6 @@ L =head1 HISTORY -d2i_PKCS7_bio_stream() was added to OpenSSL 0.9.9 +i2d_PKCS7_bio_stream() was added to OpenSSL 0.9.9 =cut