]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit0feba2219b7348dce7d59312f4701a4805768f2d
tree9f48025334d61860c7423d8262a2a1711328f39a
parent74bc7c97fa88ae334752e7b45702d23813df8873
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