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:
Tobias Brunner 2015-12-18 13:46:24 +01:00
parent ade20d06c6
commit a1dfbb7557
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ static void list_child(private_vici_query_t *this, vici_builder_t *b,
}
}
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);
if (ks)