summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authortb <>2026-05-16 06:15:22 +0000
committertb <>2026-05-16 06:15:22 +0000
commit4bc248f91cc2b2005ee5a47375fd811c8d6210a7 (patch)
tree28bb7c2e2dc2e20e0e2e742a96dd0f1e30f67983 /src/lib/libcrypto
parentde1318d65441b2afb42c924dccb90bb6bfcd9120 (diff)
downloadopenbsd-4bc248f91cc2b2005ee5a47375fd811c8d6210a7.tar.gz
openbsd-4bc248f91cc2b2005ee5a47375fd811c8d6210a7.tar.bz2
openbsd-4bc248f91cc2b2005ee5a47375fd811c8d6210a7.zip
BIO_dump: Xr BIO_printf rather than BIO_write/fwrite
Prompted by a report by N. Dossche ok kenjiro
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r--src/lib/libcrypto/man/BIO_dump.310
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/BIO_dump.3 b/src/lib/libcrypto/man/BIO_dump.3
index 2c06c8cc9c..30020dfd26 100644
--- a/src/lib/libcrypto/man/BIO_dump.3
+++ b/src/lib/libcrypto/man/BIO_dump.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_dump.3,v 1.6 2025/06/08 22:40:29 schwarze Exp $ 1.\" $OpenBSD: BIO_dump.3,v 1.7 2026/05/16 06:15:22 tb Exp $
2.\" 2.\"
3.\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> 3.\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: June 8 2025 $ 17.Dd $Mdocdate: May 16 2026 $
18.Dt BIO_DUMP 3 18.Dt BIO_DUMP 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -77,16 +77,14 @@ is 7 or more, the number of data columns is reduced such that the
77total width of the output does not exceed 79 characters per line. 77total width of the output does not exceed 79 characters per line.
78.Sh RETURN VALUES 78.Sh RETURN VALUES
79On success these functions return the total number of bytes written by 79On success these functions return the total number of bytes written by
80.Xr BIO_write 3 80.Xr BIO_printf 3 .
81or
82.Xr fwrite 3 .
83If a failure occurs at any point when writing, these 81If a failure occurs at any point when writing, these
84functions will stop after having potentially written out partial results, 82functions will stop after having potentially written out partial results,
85and return -1. 83and return -1.
86.Sh SEE ALSO 84.Sh SEE ALSO
87.Xr hexdump 1 , 85.Xr hexdump 1 ,
88.Xr BIO_new 3 , 86.Xr BIO_new 3 ,
89.Xr BIO_write 3 87.Xr BIO_printf 3
90.Sh HISTORY 88.Sh HISTORY
91.Fn BIO_dump 89.Fn BIO_dump
92first appeared in SSLeay 0.6.5 and has been available since 90first appeared in SSLeay 0.6.5 and has been available since