mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
auth-cfg: Fix build with DEBUG_LEVEL < 1
This commit is contained in:
parent
5a98f8f4ab
commit
1b59031cc3
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user