@deftypefun {void} {gnutls_session_force_valid} (gnutls_session_t @var{session}) @var{session}: is a @code{gnutls_session_t} type. Clears the invalid flag in a session. That means that sessions were corrupt or invalid data were received can be re-used. Use only when debugging or experimenting with the TLS protocol. Should not be used in typical applications. @end deftypefun