Correct d2i/i2d typos.
[openssl.git] / 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 95708614531c7ee4731f11b90f1ebc47e072be31..c7da2fa98e8266ac24c56e7e2b3135627705e1e6 100644 (file)
@@ -2,17 +2,17 @@
 
 =head1 NAME
 
 
 =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 <openssl/pkcs7.h>
 
 
 =head1 SYNOPSIS
 
  #include <openssl/pkcs7.h>
 
- 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
 
 
 =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().
 
 
 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
 
 
 =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
 
 
 =head1 SEE ALSO
 
@@ -39,6 +39,6 @@ L<PEM_write_bio_PKCS7_stream(3)|PEM_write_bio_PKCS7_stream(3)>
 
 =head1 HISTORY
 
 
 =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
 
 =cut