]> git.ipfire.org Git - thirdparty/openssl.git/commit
doc: Fix X509_NAME_print documentation to reflect actual behavior
authorkovan <xaum.io@gmail.com>
Mon, 2 Feb 2026 11:35:29 +0000 (12:35 +0100)
committerNorbert Pocs <norbertp@openssl.org>
Fri, 13 Mar 2026 08:24:52 +0000 (09:24 +0100)
commitf6615418ea218b6d285ea53d74efc77c66b9a102
tree1f5149ffd100deac43041fa8542650bd4ec628d6
parent68f22c9be1c53179a487edeca1b048e3fe69b15c
doc: Fix X509_NAME_print documentation to reflect actual behavior

The documentation claimed that X509_NAME_print() would indent each line
by obase characters and wrap lines exceeding 80 characters. However, the
implementation has never actually used obase for any purpose since the
line-wrapping code was removed in 2007 as unreachable.

Update the documentation to state that obase is ignored and the function
outputs on a single line.

Fixes #18004

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
MergeDate: Fri Mar 13 08:24:57 2026
(Merged from https://github.com/openssl/openssl/pull/29900)
doc/man3/X509_NAME_print_ex.pod