auth-cfg: Fix build with DEBUG_LEVEL < 1
This commit is contained in:
@@ -821,7 +821,6 @@ METHOD(auth_cfg_t, complies, bool,
|
|||||||
signature_params_t *ike_scheme = NULL, *scheme = NULL;
|
signature_params_t *ike_scheme = NULL, *scheme = NULL;
|
||||||
u_int strength = 0;
|
u_int strength = 0;
|
||||||
auth_rule_t t1, t2;
|
auth_rule_t t1, t2;
|
||||||
char *key_type;
|
|
||||||
void *value;
|
void *value;
|
||||||
|
|
||||||
e1 = constraints->create_enumerator(constraints);
|
e1 = constraints->create_enumerator(constraints);
|
||||||
@@ -1110,6 +1109,8 @@ METHOD(auth_cfg_t, complies, bool,
|
|||||||
* public key strength */
|
* public key strength */
|
||||||
if (success && strength)
|
if (success && strength)
|
||||||
{
|
{
|
||||||
|
char *key_type DBG_UNUSED;
|
||||||
|
|
||||||
e2 = create_enumerator(this);
|
e2 = create_enumerator(this);
|
||||||
while (e2->enumerate(e2, &t2, &strength))
|
while (e2->enumerate(e2, &t2, &strength))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user