From a1dfbb7557843b9581d9cc8547029702cb19a213 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 18 Dec 2015 13:46:24 +0100 Subject: [PATCH] vici: Use correct constant when checking for integrity algorithm Currently both have the value 1024 so no real harm done. --- src/libcharon/plugins/vici/vici_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcharon/plugins/vici/vici_query.c b/src/libcharon/plugins/vici/vici_query.c index 1b56a9f73..e020ebf8c 100644 --- a/src/libcharon/plugins/vici/vici_query.c +++ b/src/libcharon/plugins/vici/vici_query.c @@ -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)