diff options
author | jmc <> | 2016-11-07 15:52:47 +0000 |
---|---|---|
committer | jmc <> | 2016-11-07 15:52:47 +0000 |
commit | 94a8013c0e6b484829cc3c8b697578760ad01405 (patch) | |
tree | 8e0eba7cbf154c12c52f4456e7f1e277c6e71d31 /src/lib/libcrypto/man/BIO_f_base64.3 | |
parent | e638403f591087e1ef609e3bc88e3028a97af60e (diff) | |
download | openbsd-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.3 | 14 |
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. | |||
32 | The flag | 32 | The flag |
33 | .Dv BIO_FLAGS_BASE64_NO_NL | 33 | .Dv BIO_FLAGS_BASE64_NO_NL |
34 | can be set with | 34 | can be set with |
35 | .Xr BIO_set_flags 3 | 35 | .Fn BIO_set_flags |
36 | to encode the data all on one line | 36 | to encode the data all on one line |
37 | or expect the data to be all on one line. | 37 | or expect the data to be all on one line. |
38 | .Sh NOTES | 38 | .Pp |
39 | Because of the format of base64 encoding the end of the encoded | 39 | Because of the format of base64 encoding the end of the encoded |
40 | block cannot always be reliably determined. | 40 | block cannot always be reliably determined. |
41 | .Sh RETURN VALUES | 41 | .Sh RETURN VALUES |
@@ -57,7 +57,7 @@ BIO_flush(b64); | |||
57 | BIO_free_all(b64); | 57 | BIO_free_all(b64); |
58 | .Ed | 58 | .Ed |
59 | .Pp | 59 | .Pp |
60 | Read Base64 encoded data from standard input | 60 | Read Base64-encoded data from standard input |
61 | and write the decoded data to standard output: | 61 | and write the decoded data to standard output: |
62 | .Bd -literal -offset indent | 62 | .Bd -literal -offset indent |
63 | BIO *bio, *b64, *bio_out; | 63 | BIO *bio, *b64, *bio_out; |
@@ -75,8 +75,8 @@ BIO_flush(bio_out); | |||
75 | BIO_free_all(b64); | 75 | BIO_free_all(b64); |
76 | .Ed | 76 | .Ed |
77 | .Sh BUGS | 77 | .Sh BUGS |
78 | The ambiguity of EOF in base64 encoded data can cause additional | 78 | The ambiguity of EOF in base64-encoded data can cause additional |
79 | data following the base64 encoded block to be misinterpreted. | 79 | data following the base64-encoded block to be misinterpreted. |
80 | .Pp | 80 | .Pp |
81 | There should be some way of specifying a test that the BIO can perform | 81 | There should be some way of specifying a test that the BIO can perform |
82 | to reliably determine EOF (for example a MIME boundary). | 82 | to reliably determine EOF (for example a MIME boundary). |