auth-cfg: Fix build with DEBUG_LEVEL < 1

This commit is contained in:
Tobias Brunner
2023-05-08 14:06:43 +02:00
parent 5a98f8f4ab
commit 1b59031cc3
+2 -1
View File
@@ -821,7 +821,6 @@ METHOD(auth_cfg_t, complies, bool,
signature_params_t *ike_scheme = NULL, *scheme = NULL;
u_int strength = 0;
auth_rule_t t1, t2;
char *key_type;
void *value;
e1 = constraints->create_enumerator(constraints);
@@ -1110,6 +1109,8 @@ METHOD(auth_cfg_t, complies, bool,
* public key strength */
if (success && strength)
{
char *key_type DBG_UNUSED;
e2 = create_enumerator(this);
while (e2->enumerate(e2, &t2, &strength))
{