From 813367c599b90435b4d3e72d5b983f00884a4109 Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 7 Jan 2025 18:58:32 +0000 Subject: X509_NAME_print: remove lie about multiple lines being used OpenSSL commit 92ada7cc (2007) removed some dead code with flawed logic attempting to print multiple lines if the line exceeded 80 characters. Said flawed logic was there since the start of the git history importing SSLeay 0.8.1b in 1998 and never worked. Rumor has it that it did work prior to that. Be that as it may, it's just wrongly documented since Henson added the docs in commit 0711be16 (2002). Prompted by OpenSSL issue #18004 by davidben https://github.com/quictls/quictls/pull/168 https://github.com/quictls/quictls/issues/75 --- src/lib/libcrypto/man/X509_NAME_print_ex.3 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/libcrypto/man/X509_NAME_print_ex.3 b/src/lib/libcrypto/man/X509_NAME_print_ex.3 index 8024d8380d..c6d71688f8 100644 --- a/src/lib/libcrypto/man/X509_NAME_print_ex.3 +++ b/src/lib/libcrypto/man/X509_NAME_print_ex.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: X509_NAME_print_ex.3,v 1.12 2021/11/11 15:58:49 schwarze Exp $ +.\" $OpenBSD: X509_NAME_print_ex.3,v 1.13 2025/01/07 18:58:32 tb Exp $ .\" full merge up to: OpenSSL aebb9aac Jul 19 09:27:53 2016 -0400 .\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 .\" @@ -50,7 +50,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: November 11 2021 $ +.Dd $Mdocdate: January 7 2025 $ .Dt X509_NAME_PRINT_EX 3 .Os .Sh NAME @@ -135,8 +135,6 @@ to indenting each line by .Fa obase characters. -Multiple lines are used if the output (including indent) exceeds 80 -characters. .Pp The functions .Fn X509_NAME_oneline -- cgit v1.2.3-55-g6feb