summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BIO_f_base64.3
diff options
context:
space:
mode:
authorjmc <>2016-11-07 15:52:47 +0000
committerjmc <>2016-11-07 15:52:47 +0000
commit94a8013c0e6b484829cc3c8b697578760ad01405 (patch)
tree8e0eba7cbf154c12c52f4456e7f1e277c6e71d31 /src/lib/libcrypto/man/BIO_f_base64.3
parente638403f591087e1ef609e3bc88e3028a97af60e (diff)
downloadopenbsd-94a8013c0e6b484829cc3c8b697578760ad01405.tar.gz
openbsd-94a8013c0e6b484829cc3c8b697578760ad01405.tar.bz2
openbsd-94a8013c0e6b484829cc3c8b697578760ad01405.zip
various cleanup;
Diffstat (limited to 'src/lib/libcrypto/man/BIO_f_base64.3')
-rw-r--r--src/lib/libcrypto/man/BIO_f_base64.314
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/BIO_f_base64.3 b/src/lib/libcrypto/man/BIO_f_base64.3
index d86a2e0daa..5051ad14b8 100644
--- a/src/lib/libcrypto/man/BIO_f_base64.3
+++ b/src/lib/libcrypto/man/BIO_f_base64.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: BIO_f_base64.3,v 1.3 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: BIO_f_base64.3,v 1.4 2016/11/07 15:52:47 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 7 2016 $
4.Dt BIO_F_BASE64 3 4.Dt BIO_F_BASE64 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -32,10 +32,10 @@ this is used to flush the final block through the BIO.
32The flag 32The flag
33.Dv BIO_FLAGS_BASE64_NO_NL 33.Dv BIO_FLAGS_BASE64_NO_NL
34can be set with 34can be set with
35.Xr BIO_set_flags 3 35.Fn BIO_set_flags
36to encode the data all on one line 36to encode the data all on one line
37or expect the data to be all on one line. 37or expect the data to be all on one line.
38.Sh NOTES 38.Pp
39Because of the format of base64 encoding the end of the encoded 39Because of the format of base64 encoding the end of the encoded
40block cannot always be reliably determined. 40block cannot always be reliably determined.
41.Sh RETURN VALUES 41.Sh RETURN VALUES
@@ -57,7 +57,7 @@ BIO_flush(b64);
57BIO_free_all(b64); 57BIO_free_all(b64);
58.Ed 58.Ed
59.Pp 59.Pp
60Read Base64 encoded data from standard input 60Read Base64-encoded data from standard input
61and write the decoded data to standard output: 61and write the decoded data to standard output:
62.Bd -literal -offset indent 62.Bd -literal -offset indent
63BIO *bio, *b64, *bio_out; 63BIO *bio, *b64, *bio_out;
@@ -75,8 +75,8 @@ BIO_flush(bio_out);
75BIO_free_all(b64); 75BIO_free_all(b64);
76.Ed 76.Ed
77.Sh BUGS 77.Sh BUGS
78The ambiguity of EOF in base64 encoded data can cause additional 78The ambiguity of EOF in base64-encoded data can cause additional
79data following the base64 encoded block to be misinterpreted. 79data following the base64-encoded block to be misinterpreted.
80.Pp 80.Pp
81There should be some way of specifying a test that the BIO can perform 81There should be some way of specifying a test that the BIO can perform
82to reliably determine EOF (for example a MIME boundary). 82to reliably determine EOF (for example a MIME boundary).