From: Tobias Brunner Date: Fri, 18 Dec 2015 12:46:24 +0000 (+0100) Subject: vici: Use correct constant when checking for integrity algorithm X-Git-Tag: 5.4.0dr3~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1dfbb7557843b9581d9cc8547029702cb19a213;p=thirdparty%2Fstrongswan.git vici: Use correct constant when checking for integrity algorithm Currently both have the value 1024 so no real harm done. --- diff --git a/src/libcharon/plugins/vici/vici_query.c b/src/libcharon/plugins/vici/vici_query.c index 1b56a9f73c..e020ebf8c8 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)