summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/SMIME_text.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/man/SMIME_text.357
1 files changed, 0 insertions, 57 deletions
diff --git a/src/lib/libcrypto/man/SMIME_text.3 b/src/lib/libcrypto/man/SMIME_text.3
deleted file mode 100644
index a4c9689925..0000000000
--- a/src/lib/libcrypto/man/SMIME_text.3
+++ /dev/null
@@ -1,57 +0,0 @@
1.\" $OpenBSD: SMIME_text.3,v 1.1 2021/12/14 15:22:49 schwarze Exp $
2.\"
3.\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: December 14 2021 $
18.Dt SMIME_TEXT 3
19.Os
20.Sh NAME
21.Nm SMIME_text
22.Nd remove text/plain MIME headers
23.Sh SYNOPSIS
24.In openssl/asn1.h
25.Ft int
26.Fo SMIME_text
27.Fa "BIO *in_bio"
28.Fa "BIO *out_bio"
29.Fc
30.Sh DESCRIPTION
31.Fn SMIME_text
32reads MIME headers from
33.Fa in_bio ,
34checks that the content type is
35.Dq text/plain ,
36discards the MIME headers,
37and copies the text that follows the headers from
38.Fa in_bio
39to
40.Fa out_bio .
41.Sh RETURN VALUES
42.Fn SMIME_text
43returns 1 on success or 0 if memory allocation, reading the input,
44or parsing the MIME headers fails, if there is no
45.Dq content-type
46header, or if the content type is not
47.Dq text/plain .
48.Sh SEE ALSO
49.Xr SMIME_crlf_copy 3 ,
50.Xr SMIME_read_ASN1 3
51.Sh HISTORY
52.Fn SMIME_text
53first appeared in OpenSSL 1.0.0 and has been available since
54.Ox 4.9 .
55.Sh CAVEATS
56.Fn SMIME_text
57does not support non-blocking BIOs.