From 9034c56c6c71ac68f25f195300e3d7b129280824 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 8 Apr 2008 22:35:32 +0000 Subject: [PATCH] Correct d2i/i2d typos. --- doc/crypto/CMS_encrypt.pod | 2 +- doc/crypto/CMS_sign.pod | 2 +- doc/crypto/PEM_write_bio_CMS_stream.pod | 2 +- doc/crypto/PEM_write_bio_PKCS7_stream.pod | 2 +- doc/crypto/PKCS7_encrypt.pod | 2 +- doc/crypto/PKCS7_sign.pod | 2 +- doc/crypto/i2d_CMS_bio_stream.pod | 4 ++-- ...i_PKCS7_bio_stream.pod => i2d_PKCS7_bio_stream.pod} | 10 +++++----- 8 files changed, 13 insertions(+), 13 deletions(-) rename doc/crypto/{d2i_PKCS7_bio_stream.pod => i2d_PKCS7_bio_stream.pod} (69%) 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/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/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 9570861453..c7da2fa98e 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 -- 2.25.1