Prefix crlNumber output with 0x.
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>
Mon, 13 Jul 2020 22:04:04 +0000 (15:04 -0700)
committerPauli <paul.dale@oracle.com>
Tue, 20 Oct 2020 07:27:42 +0000 (17:27 +1000)
commit6be235a0927473a2fddad83dd30ce4474ae53880
tree111ebd0a20555dd454a9f77323d060c656cf8d1a
parent1dc5128577ed983fab8d5b3e65c06dd7e12cf4dc
Prefix crlNumber output with 0x.

When the crlNumber field contains only 0-9 digits, the output is
ambiguous as to what base it's in, which can be confusing. Adding this
prefix makes it explicit that it's in hex.

CLA: trivial

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12434)
apps/crl.c