summaryrefslogtreecommitdiffstats
path: root/apps/tsget
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2025-01-25 09:31:31 +0100
committerTomas Mraz <tomas@openssl.org>2025-01-28 21:06:51 +0100
commitaa52ec9b0ae5c32bb4759b71117737002cbd1263 (patch)
treece08a41df4b35cc17ad1de3c882cb65cc7e65ff5 /apps/tsget
parentFix pretty-printing empty serial number in ossl_serial_number_print() (diff)
downloadopenssl-master.tar.xz
openssl-master.zip
Use ASN1_INTEGER_get_int64() in ossl_serial_number_print()HEADmaster
A -1 return from ASN1_INTEGER_get() indicates both success and error. Our man page calls out this ambiguity. Use ASN1_INTEGER_get_int64() instead, which has a better error reporting and also a platform independent behavior with respect to sizeof(long). Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26557)
Diffstat (limited to 'apps/tsget')
0 files changed, 0 insertions, 0 deletions