tests/basic: silence GCC-8 warning

Authored by jukivili on Jun 19 2018, 5:34 PM.

Description

tests/basic: silence GCC-8 warning

* tests/basic.c (check_ofb_cipher, check_stream_cipher): Change
tv[].data[].inlen type from signed to unsigned integer.

Patch silences new GCC-8 compiler warning:
'__builtin_memcmp_eq' specified size between 18446744071562067968 and
18446744073709551615 exceeds maximum object size 9223372036854775807
[-Wstringop-overflow=]

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Committed
jukiviliJun 19 2018, 6:29 PM
Parents
rC355f5b7f6907: random: Fix hang of _gcry_rndjent_get_version.
Branches
Unknown
Tags
Unknown