gnutls_session_force_valid — API function


#include <gnutls/gnutls.h>

void gnutls_session_force_valid(gnutls_session_t session);


gnutls_session_t session

is a 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.

Reporting Bugs

Report bugs to <>.
Home page:

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit


3.6.9 gnutls