aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-12-18 13:46:24 +0100
committerTobias Brunner <tobias@strongswan.org>2015-12-21 12:14:12 +0100
commita1dfbb7557843b9581d9cc8547029702cb19a213 (patch)
tree70109834544b1b3111ae70cef5e940b79b416c8b /src
parentade20d06c63a82228b43b894eb452347129e7f87 (diff)
downloadstrongswan-a1dfbb7557843b9581d9cc8547029702cb19a213.tar.bz2
strongswan-a1dfbb7557843b9581d9cc8547029702cb19a213.tar.xz
vici: Use correct constant when checking for integrity algorithm
Currently both have the value 1024 so no real harm done.
Diffstat (limited to 'src')
-rw-r--r--src/libcharon/plugins/vici/vici_query.c2
1 files changed, 1 insertions, 1 deletions
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)