strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6baca3b
)
added compiler-soothing parentheses
author
Andreas Steffen
<andreas.steffen@strongswan.org>
Thu, 13 Sep 2007 08:22:37 +0000
(08:22 -0000)
committer
Andreas Steffen
<andreas.steffen@strongswan.org>
Thu, 13 Sep 2007 08:22:37 +0000
(08:22 -0000)
src/pluto/spdb.c
patch
|
blob
|
history
diff --git
a/src/pluto/spdb.c
b/src/pluto/spdb.c
index
9965851
..
e3fc817
100644
(file)
--- a/
src/pluto/spdb.c
+++ b/
src/pluto/spdb.c
@@
-975,8
+975,8
@@
parse_isakmp_sa_body(u_int32_t ipsecdoisit
lset_t iap = st->st_policy & POLICY_ID_AUTH_MASK;
/* is the initiator the XAUTH client? */
- bool xauth_init =
initiator && (st->st_policy & POLICY_XAUTH_SERVER) == LEMPTY
-
|| !initiator && (st->st_policy & POLICY_XAUTH_SERVER) != LEMPTY
;
+ bool xauth_init =
( initiator && (st->st_policy & POLICY_XAUTH_SERVER) == LEMPTY)
+
|| (!initiator && (st->st_policy & POLICY_XAUTH_SERVER) != LEMPTY)
;
switch (val)
{