aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/connections.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-03-28 11:48:14 +0000
committerMartin Willi <martin@strongswan.org>2008-03-28 11:48:14 +0000
commitdca40a94830f44e212f8a40a20f30a158610805e (patch)
tree7de4a5ad3939c69078cba6a3cc51b2c7bdcbc452 /src/pluto/connections.c
parent7539b1d1aa7b04d595ce83af96b46ac11132a690 (diff)
downloadstrongswan-dca40a94830f44e212f8a40a20f30a158610805e.tar.bz2
strongswan-dca40a94830f44e212f8a40a20f30a158610805e.tar.xz
fixed all pluto compiler warnings
Diffstat (limited to 'src/pluto/connections.c')
-rw-r--r--src/pluto/connections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pluto/connections.c b/src/pluto/connections.c
index 2f0778ffe..941c6ad85 100644
--- a/src/pluto/connections.c
+++ b/src/pluto/connections.c
@@ -2354,7 +2354,7 @@ initiate_opportunistic_body(struct find_oppo_bundle *b
* DNS query (if any). It also selects the kind of the next step.
* The second chunk initiates the next DNS query (if any).
*/
- enum find_oppo_step next_step;
+ enum find_oppo_step next_step = fos_myid_ip_txt;
err_t ugh = ac_ugh;
char mycredentialstr[BUF_LEN];
char cib[CONN_INST_BUF];
@@ -3279,7 +3279,7 @@ refine_host_connection(const struct state *st, const struct id *peer_id
struct connection *d;
struct connection *best_found = NULL;
u_int16_t auth = st->st_oakley.auth;
- lset_t auth_policy;
+ lset_t auth_policy = POLICY_PSK;
const chunk_t *psk = NULL;
bool wcpip; /* wildcard Peer IP? */
int best_prio = PRIO_NO_MATCH_FOUND;