diff options
author | Richard Levitte <levitte@openssl.org> | 2017-04-10 22:01:05 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-04-11 22:08:41 +0200 |
commit | 429223d198aabacd129cf6dde5a4203b5af41737 (patch) | |
tree | 34d879e3052e401d56e80c8b9fcb2509955b6d59 /test/bad_dtls_test.c | |
parent | afd7cae2713e407bce5cd7bbc47fcf9c1d7c3862 (diff) |
Fix x_int64.c
Clearing a misunderstanding. The routines c2i_uint64_int() and
i2c_uint64_int() expect to receive that internal values are absolute
and with a separate sign flag, and the x_int64.c code handles values
that aren't absolute and have the sign bit embedded. We therefore
need to convert between absolute and non-absolute values for the
encoding of negative values to be correct.
[extended tests]
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3160)
Diffstat (limited to 'test/bad_dtls_test.c')
0 files changed, 0 insertions, 0 deletions