selftests/tls: fix selftests after adding ChaCha20-Poly1305
authorVadim Fedorenko <vfedorenko@novek.ru>
Fri, 8 Jan 2021 21:37:45 +0000 (00:37 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Jan 2021 22:26:30 +0000 (14:26 -0800)
commit3502bd9b5762154ff11665f3f18f6d7dcc6f781c
tree1b0568716e40c1b2d3efa637a8b821355446193b
parentb210de4f8c97d57de051e805686248ec4c6cfc52
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>
tools/testing/selftests/net/tls.c