summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/SMIME_write_PKCS7.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/SMIME_write_PKCS7.3')
-rw-r--r--src/lib/libcrypto/man/SMIME_write_PKCS7.318
1 files changed, 12 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/SMIME_write_PKCS7.3 b/src/lib/libcrypto/man/SMIME_write_PKCS7.3
index e4c482a983..72200c0b1b 100644
--- a/src/lib/libcrypto/man/SMIME_write_PKCS7.3
+++ b/src/lib/libcrypto/man/SMIME_write_PKCS7.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: SMIME_write_PKCS7.3,v 1.10 2025/06/08 22:40:30 schwarze Exp $ 1.\" $OpenBSD: SMIME_write_PKCS7.3,v 1.11 2025/06/11 14:23:14 schwarze Exp $
2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -66,7 +66,7 @@
66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
67.\" OF THE POSSIBILITY OF SUCH DAMAGE. 67.\" OF THE POSSIBILITY OF SUCH DAMAGE.
68.\" 68.\"
69.Dd $Mdocdate: June 8 2025 $ 69.Dd $Mdocdate: June 11 2025 $
70.Dt SMIME_WRITE_PKCS7 3 70.Dt SMIME_WRITE_PKCS7 3
71.Os 71.Os
72.Sh NAME 72.Sh NAME
@@ -164,22 +164,28 @@ indefinite length constructed encoding except in the case of signed
164data with detached content where the content is absent and DER 164data with detached content where the content is absent and DER
165format is used. 165format is used.
166.Sh RETURN VALUES 166.Sh RETURN VALUES
167Upon successful completion, 1 is returned; 167.Fn SMIME_write_PKCS7
168otherwise 0 is returned and an error code can be retrieved with 168is intended to return 1 on success or 0 on failure.
169.Xr ERR_get_error 3 .
170.Sh SEE ALSO 169.Sh SEE ALSO
170.Xr BIO_f_base64 3 ,
171.Xr BIO_new 3 ,
171.Xr i2d_PKCS7_bio_stream 3 , 172.Xr i2d_PKCS7_bio_stream 3 ,
172.Xr PEM_write_bio_PKCS7_stream 3 , 173.Xr PEM_write_bio_PKCS7_stream 3 ,
173.Xr PEM_write_PKCS7 3 , 174.Xr PEM_write_PKCS7 3 ,
174.Xr PKCS7_final 3 , 175.Xr PKCS7_final 3 ,
175.Xr PKCS7_new 3 , 176.Xr PKCS7_new 3 ,
177.Xr SMIME_crlf_copy 3 ,
176.Xr SMIME_read_PKCS7 3 , 178.Xr SMIME_read_PKCS7 3 ,
177.Xr SMIME_write_ASN1 3 179.Xr SMIME_write_CMS 3
178.Sh HISTORY 180.Sh HISTORY
179.Fn SMIME_write_PKCS7 181.Fn SMIME_write_PKCS7
180first appeared in OpenSSL 0.9.5 and has been available since 182first appeared in OpenSSL 0.9.5 and has been available since
181.Ox 2.7 . 183.Ox 2.7 .
182.Sh BUGS 184.Sh BUGS
183.Fn SMIME_write_PKCS7 185.Fn SMIME_write_PKCS7
186ignores most errors and is likely to return 1
187even after producing corrupt or incomplete output.
188.Pp
189.Fn SMIME_write_PKCS7
184always base64 encodes PKCS#7 structures. 190always base64 encodes PKCS#7 structures.
185There should be an option to disable this. 191There should be an option to disable this.