diff options
| author | Martin Willi <martin@strongswan.org> | 2008-03-19 10:24:51 +0000 |
|---|---|---|
| committer | Martin Willi <martin@strongswan.org> | 2008-03-19 10:24:51 +0000 |
| commit | d3a6993777d9fc49cded2f2fd39f7b88ec90841d (patch) | |
| tree | 6fb353bcb40aeea4edd241632906200aaf37de41 /src/charon/plugins/stroke | |
| parent | 3c448f019bdf0c2893a781a07b52357f59d2d898 (diff) | |
| download | strongswan-d3a6993777d9fc49cded2f2fd39f7b88ec90841d.tar.bz2 strongswan-d3a6993777d9fc49cded2f2fd39f7b88ec90841d.tar.xz | |
fixed shared key lookup in stroke
Diffstat (limited to 'src/charon/plugins/stroke')
| -rwxr-xr-x | src/charon/plugins/stroke/stroke.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/plugins/stroke/stroke.c b/src/charon/plugins/stroke/stroke.c index c92e6ee8a..9bff144f6 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; } |
