summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2025-01-07 18:58:32 +0000
committertb <>2025-01-07 18:58:32 +0000
commitceb332e28d43eff69772230f4c7862bbea1c628f (patch)
tree7a92a996a16a3df82bd727c067ef7a3c43d87da0 /src
parenta1684faa4be27a9ef1e107c73728a13717cb63c4 (diff)
downloadopenbsd-ceb332e28d43eff69772230f4c7862bbea1c628f.tar.gz
openbsd-ceb332e28d43eff69772230f4c7862bbea1c628f.tar.bz2
openbsd-ceb332e28d43eff69772230f4c7862bbea1c628f.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
Diffstat (limited to 'src')
-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