]> git.ipfire.org Git - thirdparty/openssl.git/commit - test/property_test.c
property: convert integers to strings properly.
authorPauli <pauli@openssl.org>
Fri, 21 May 2021 01:19:30 +0000 (11:19 +1000)
committerPauli <pauli@openssl.org>
Sat, 22 May 2021 05:30:26 +0000 (15:30 +1000)
commit862497a9183412d50615afe2d2bfde1ac6c7ffa8
treebd8d249f0cab7c79cb1daeebe136c454d1554bf2
parentb54611922b5eb760bd64de0c8edfeb13ae81fa65
property: convert integers to strings properly.

The int64_t type was converted to int (truncation).
Negative values were not handled at all.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15396)
crypto/property/property_parse.c
test/property_test.c