From: tb Date: Fri, 21 Jul 2023 04:50:47 +0000 (+0000) Subject: Remove ASN1_buf_print documentation X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f1370baee40e090870bdf4223d1a5e854257a0aa;p=openbsd Remove ASN1_buf_print documentation This function will be made internal-only and likely be renamed/rewritten. --- diff --git a/lib/libcrypto/man/ASN1_buf_print.3 b/lib/libcrypto/man/ASN1_buf_print.3 deleted file mode 100644 index 67b39bea702..00000000000 --- a/lib/libcrypto/man/ASN1_buf_print.3 +++ /dev/null @@ -1,69 +0,0 @@ -.\" $OpenBSD: ASN1_buf_print.3,v 1.2 2023/07/09 06:45:03 tb Exp $ -.\" -.\" Copyright (c) 2022 Ingo Schwarze -.\" -.\" Permission to use, copy, modify, and distribute this software for any -.\" purpose with or without fee is hereby granted, provided that the above -.\" copyright notice and this permission notice appear in all copies. -.\" -.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.\" -.Dd $Mdocdate: July 9 2023 $ -.Dt ASN1_BUF_PRINT 3 -.Os -.Sh NAME -.Nm ASN1_buf_print -.Nd pretty-print a byte array -.Sh SYNOPSIS -.In openssl/asn1.h -.Ft int -.Fo ASN1_buf_print -.Fa "BIO *bio_out" -.Fa "const unsigned char *buf" -.Fa "size_t buflen" -.Fa "int indent" -.Fc -.Sh DESCRIPTION -.Fn ASN1_buf_print -prints a hexadecimal representation of the first -.Fa buflen -bytes from -.Fa buf -to -.Fa bio_out . -Despite its name and the header file, -this function has nothing to do with ASN.1. -.Pp -Each byte from -.Fa buf -is represented by two lower-case hexadecimal digits. -Fifteen pairs of digits are printed per output line, -or at most fifteen on the last output line. -Every output line including the last one ends with a newline character. -Every pair except the last is followed by a colon -.Pq Sq \&: . -If -.Fa indent -is greater than zero, -every output line is indented by -.Fa indent -space characters, but not by more than 64 characters. -.Sh RETURN VALUES -.Fn ASN1_buf_print -returns 1 if successful or 0 if printing fails. -.Sh SEE ALSO -.Xr ASN1_item_print 3 , -.Xr ASN1_STRING_print_ex 3 , -.Xr ASN1_TIME_print 3 , -.Xr BIO_new 3 , -.Xr BIO_write 3 -.Sh HISTORY -.Fn ASN1_buf_print -first appeared in OpenSSL 1.1.0 and has been available since -.Ox 7.3 . diff --git a/lib/libcrypto/man/BIO_new.3 b/lib/libcrypto/man/BIO_new.3 index f9581499737..bce804131e1 100644 --- a/lib/libcrypto/man/BIO_new.3 +++ b/lib/libcrypto/man/BIO_new.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BIO_new.3,v 1.26 2022/12/23 15:59:34 schwarze Exp $ +.\" $OpenBSD: BIO_new.3,v 1.27 2023/07/21 04:50:47 tb Exp $ .\" full merge up to: .\" OpenSSL man3/BIO_new.pod fb46be03 Feb 26 11:51:31 2016 +0000 .\" OpenSSL man7/bio.pod 631c37be Dec 12 16:56:50 2017 +0100 @@ -52,7 +52,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 23 2022 $ +.Dd $Mdocdate: July 21 2023 $ .Dt BIO_NEW 3 .Os .Sh NAME @@ -228,7 +228,6 @@ Create a memory BIO: .Pp .Dl BIO *mem = BIO_new(BIO_s_mem()); .Sh SEE ALSO -.Xr ASN1_buf_print 3 , .Xr BIO_accept 3 , .Xr BIO_ctrl 3 , .Xr BIO_dump 3 , diff --git a/lib/libcrypto/man/Makefile b/lib/libcrypto/man/Makefile index adc54769f55..1039aa0bf08 100644 --- a/lib/libcrypto/man/Makefile +++ b/lib/libcrypto/man/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.254 2023/07/20 16:26:40 tb Exp $ +# $OpenBSD: Makefile,v 1.255 2023/07/21 04:50:47 tb Exp $ .include @@ -18,7 +18,6 @@ MAN= \ ASN1_TIME_set.3 \ ASN1_TYPE_get.3 \ ASN1_UNIVERSALSTRING_to_string.3 \ - ASN1_buf_print.3 \ ASN1_generate_nconf.3 \ ASN1_get_object.3 \ ASN1_item_d2i.3 \