]> git.ipfire.org Git - thirdparty/openssl.git/commit
ossl_print_attribute_value(): Multiple minor fixes for style and other errors
authorJonathan M. Wilbur <jonathan@wilbur.space>
Sat, 22 Jun 2024 19:48:42 +0000 (19:48 +0000)
committerTomas Mraz <tomas@openssl.org>
Fri, 28 Jun 2024 07:01:48 +0000 (09:01 +0200)
commit41c1b6f0a549f2a6401bf06c52badd482b6bd7bc
tree028cbee656180b93b0a037b8d04999cc9ed51ab8
parentfbd6609bb21b125c9454d07c484d166a33b4815b
ossl_print_attribute_value(): Multiple minor fixes for style and other errors

- use correct return values
- do not modify pointer in the atrtribute after decoding with d2i_X509_NAME()
- make oid parameter const in print_oid
- use OPENSSL_buf2hexstr_ex
- simplify return code translation from BIO_printf()

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24725)
crypto/x509/x_attrib.c