tls_generic_test sanitisation.