From d3a6993777d9fc49cded2f2fd39f7b88ec90841d Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 19 Mar 2008 10:24:51 +0000 Subject: [PATCH] fixed shared key lookup in stroke --- src/charon/plugins/stroke/stroke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charon/plugins/stroke/stroke.c b/src/charon/plugins/stroke/stroke.c index c92e6ee8a5..9bff144f61 100755 --- a/src/charon/plugins/stroke/stroke.c +++ b/src/charon/plugins/stroke/stroke.c @@ -626,7 +626,7 @@ static bool shared_filter(shared_data_t *data, { id_match_t my_match, other_match; - if (!(*in)->type == SHARED_ANY && !(*in)->type == data->type) + if (data->type != SHARED_ANY && (*in)->type != data->type) { return FALSE; } -- 2.47.3