Skip to content

Commit

Permalink
selftests/tls: fix selftests after adding ChaCha20-Poly1305
Browse files Browse the repository at this point in the history
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 <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>
  • Loading branch information
Vadim Fedorenko authored and Jakub Kicinski committed Jan 9, 2021
1 parent b210de4 commit 3502bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/testing/selftests/net/tls.c
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 3502bd9

Please sign in to comment.