OBJ_obj2txt(): fix off-by-one documentation of the result
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Fri, 3 Dec 2021 12:40:20 +0000 (13:40 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 7 Dec 2021 10:23:59 +0000 (11:23 +0100)
commit67890a738c0eb5e92c41189ba3c744fbc98a97ac
tree449dc02840c9c1c728ac2af421718864c49bf436
parentd09f4501e47e0b969caec5a3059af52d227e961a
OBJ_obj2txt(): fix off-by-one documentation of the result

Also remove the outdated BUGS section and fix the coding style of the function.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17188)
crypto/objects/obj_dat.c
doc/man3/OBJ_nid2obj.pod