]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: tls: run all tests for TLS 1.2 and TLS 1.3
authorJakub Kicinski <kuba@kernel.org>
Tue, 28 Apr 2020 01:03:51 +0000 (18:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Apr 2020 20:30:44 +0000 (13:30 -0700)
commitf33dcd43ba9dfc018a193f3d1d28b95ecb208d21
tree9f48025334d61860c7423d8262a2a1711328f39a
parent81be44a187ff51bf18b8f1c09f1691d5c73c31bc
selftests: tls: run all tests for TLS 1.2 and TLS 1.3

TLS 1.2 and TLS 1.3 differ in the implementation.
Use fixture parameters to run all tests for both
versions, and remove the one-off TLS 1.2 test.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/tls.c