tls_generic_test sanitisation.

preexisting