diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2025-01-25 09:31:31 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2025-01-28 21:06:51 +0100 |
commit | aa52ec9b0ae5c32bb4759b71117737002cbd1263 (patch) | |
tree | ce08a41df4b35cc17ad1de3c882cb65cc7e65ff5 /apps/tsget | |
parent | Fix pretty-printing empty serial number in ossl_serial_number_print() (diff) | |
download | openssl-master.tar.xz openssl-master.zip |
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