diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index bff057a50..1029d2008 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -549,6 +549,8 @@ TEH_check_invariants () { struct TEH_KeyStateHandle *ksh; + if (0 == TEH_check_invariants) + return; ksh = TEH_keys_get_state (); if (NULL == ksh) return;