diff options
author | Vadim Fedorenko <vfedorenko@novek.ru> | 2021-01-09 00:37:45 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-09 14:26:30 -0800 |
commit | 3502bd9b5762154ff11665f3f18f6d7dcc6f781c (patch) | |
tree | 1b0568716e40c1b2d3efa637a8b821355446193b /tools | |
parent | b210de4f8c97d57de051e805686248ec4c6cfc52 (diff) | |
download | linux-3502bd9b5762154ff11665f3f18f6d7dcc6f781c.tar.gz linux-3502bd9b5762154ff11665f3f18f6d7dcc6f781c.tar.bz2 linux-3502bd9b5762154ff11665f3f18f6d7dcc6f781c.zip |
selftests/tls: fix selftests after adding ChaCha20-Poly1305
TLS selftests where broken because of wrong variable types used.
Fix it by changing u16 -> uint16_t
Fixes: 4f336e88a870 ("selftests/tls: add CHACHA20-POLY1305 to tls selftests")
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru>
Link: https://lore.kernel.org/r/1610141865-7142-1-git-send-email-vfedorenko@novek.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/net/tls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/tls.c b/tools/testing/selftests/net/tls.c index cb0d1890a860..e0088c2d38a5 100644 --- a/tools/testing/selftests/net/tls.c +++ b/tools/testing/selftests/net/tls.c @@ -103,8 +103,8 @@ FIXTURE(tls) FIXTURE_VARIANT(tls) { - u16 tls_version; - u16 cipher_type; + uint16_t tls_version; + uint16_t cipher_type; }; FIXTURE_VARIANT_ADD(tls, 12_gcm) |