-add disable invariants

This commit is contained in:
Christian Grothoff 2021-12-02 14:32:05 +01:00
parent b3e4159c2e
commit 5ad1d0d3dd
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -549,6 +549,8 @@ TEH_check_invariants ()
{ {
struct TEH_KeyStateHandle *ksh; struct TEH_KeyStateHandle *ksh;
if (0 == TEH_check_invariants)
return;
ksh = TEH_keys_get_state (); ksh = TEH_keys_get_state ();
if (NULL == ksh) if (NULL == ksh)
return; return;