vici: Use correct constant when checking for integrity algorithm
Currently both have the value 1024 so no real harm done.
This commit is contained in:
@@ -126,7 +126,7 @@ static void list_child(private_vici_query_t *this, vici_builder_t *b,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (proposal->get_algorithm(proposal, INTEGRITY_ALGORITHM,
|
if (proposal->get_algorithm(proposal, INTEGRITY_ALGORITHM,
|
||||||
&alg, &ks) && alg != ENCR_UNDEFINED)
|
&alg, &ks) && alg != AUTH_UNDEFINED)
|
||||||
{
|
{
|
||||||
b->add_kv(b, "integ-alg", "%N", integrity_algorithm_names, alg);
|
b->add_kv(b, "integ-alg", "%N", integrity_algorithm_names, alg);
|
||||||
if (ks)
|
if (ks)
|
||||||
|
|||||||
Reference in New Issue
Block a user