[PATCH openEuler-5.10 16/50] selftests: tls: add tests for handling of bad records