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: https://git.librecmc.org/?a=commitdiff_plain;h=9034c56c6c71ac68f25f195300e3d7b129280824;p=oweals%2Fopenssl.git Correct d2i/i2d typos. --- diff --git a/doc/crypto/CMS_encrypt.pod b/doc/crypto/CMS_encrypt.pod index d6cd47f600..4ba2b22da4 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 8f573018c2..3047b283a4 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 0d88551b97..bbb865a371 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 d7e6508c4e..afa760831e 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 c17cb8d1e9..035220aa16 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 b10df26044..6f781b1925 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/d2i_PKCS7_bio_stream.pod b/doc/crypto/d2i_PKCS7_bio_stream.pod deleted file mode 100644 index 9570861453..0000000000 --- a/doc/crypto/d2i_PKCS7_bio_stream.pod +++ /dev/null @@ -1,44 +0,0 @@ -=pod - -=head1 NAME - -d2i_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); - -=head1 DESCRIPTION - -d2i_PKCS7_bio_stream() outputs a PKCS7 structure in BER format. - -It is otherwise identical to the function SMIME_write_PKCS7(). - -=head1 NOTES - -This function is effectively a version of the d2i_PKCS7_bio() supporting -streaming. - -=head1 BUGS - -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. - -=head1 SEE ALSO - -L, L, -L, L -L, -L, -L - -=head1 HISTORY - -d2i_PKCS7_bio_stream() was added to OpenSSL 0.9.9 - -=cut diff --git a/doc/crypto/i2d_CMS_bio_stream.pod b/doc/crypto/i2d_CMS_bio_stream.pod index 6d499375f8..d8b8e58156 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/i2d_PKCS7_bio_stream.pod b/doc/crypto/i2d_PKCS7_bio_stream.pod new file mode 100644 index 0000000000..c7da2fa98e --- /dev/null +++ b/doc/crypto/i2d_PKCS7_bio_stream.pod @@ -0,0 +1,44 @@ +=pod + +=head1 NAME + +i2d_PKCS7_bio_stream - output PKCS7 structure in BER format. + +=head1 SYNOPSIS + + #include + + int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *data, int flags); + +=head1 DESCRIPTION + +i2d_PKCS7_bio_stream() outputs a PKCS7 structure in BER format. + +It is otherwise identical to the function SMIME_write_PKCS7(). + +=head1 NOTES + +This function is effectively a version of the d2i_PKCS7_bio() supporting +streaming. + +=head1 BUGS + +The prefix "d2i" is arguably wrong because the function outputs BER format. + +=head1 RETURN VALUES + +i2d_PKCS7_bio_stream() returns 1 for success or 0 for failure. + +=head1 SEE ALSO + +L, L, +L, L +L, +L, +L + +=head1 HISTORY + +i2d_PKCS7_bio_stream() was added to OpenSSL 0.9.9 + +=cut