summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2025-01-07 18:58:32 +0000
committertb <>2025-01-07 18:58:32 +0000
commit813367c599b90435b4d3e72d5b983f00884a4109 (patch)
tree7a92a996a16a3df82bd727c067ef7a3c43d87da0
parentd8404c981eba67969bbcf9f164449ff63d8b4649 (diff)
downloadopenbsd-813367c599b90435b4d3e72d5b983f00884a4109.tar.gz
openbsd-813367c599b90435b4d3e72d5b983f00884a4109.tar.bz2
openbsd-813367c599b90435b4d3e72d5b983f00884a4109.zip
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
-rw-r--r--src/lib/libcrypto/man/X509_NAME_print_ex.36
1 files 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 @@
1.\" $OpenBSD: X509_NAME_print_ex.3,v 1.12 2021/11/11 15:58:49 schwarze Exp $ 1.\" $OpenBSD: X509_NAME_print_ex.3,v 1.13 2025/01/07 18:58:32 tb Exp $
2.\" full merge up to: OpenSSL aebb9aac Jul 19 09:27:53 2016 -0400 2.\" full merge up to: OpenSSL aebb9aac Jul 19 09:27:53 2016 -0400
3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800
4.\" 4.\"
@@ -50,7 +50,7 @@
50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
52.\" 52.\"
53.Dd $Mdocdate: November 11 2021 $ 53.Dd $Mdocdate: January 7 2025 $
54.Dt X509_NAME_PRINT_EX 3 54.Dt X509_NAME_PRINT_EX 3
55.Os 55.Os
56.Sh NAME 56.Sh NAME
@@ -135,8 +135,6 @@ to
135indenting each line by 135indenting each line by
136.Fa obase 136.Fa obase
137characters. 137characters.
138Multiple lines are used if the output (including indent) exceeds 80
139characters.
140.Pp 138.Pp
141The functions 139The functions
142.Fn X509_NAME_oneline 140.Fn X509_NAME_oneline