Skip to content

Commit 3502bd9

Browse files
vvfedorenkokuba-moo
authored andcommitted
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: 4f336e8 ("selftests/tls: add CHACHA20-POLY1305 to tls selftests") Reported-by: kernel test robot <[email protected]> Signed-off-by: Vadim Fedorenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent b210de4 commit 3502bd9

File tree

1 file changed

+2
-2
lines changed
  • tools/testing/selftests/net

1 file changed

+2
-2
lines changed

tools/testing/selftests/net/tls.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ FIXTURE(tls)
103103

104104
FIXTURE_VARIANT(tls)
105105
{
106-
u16 tls_version;
107-
u16 cipher_type;
106+
uint16_t tls_version;
107+
uint16_t cipher_type;
108108
};
109109

110110
FIXTURE_VARIANT_ADD(tls, 12_gcm)

0 commit comments

Comments
 (0)