aboutsummaryrefslogtreecommitdiffstats
path: root/src/stroke/stroke.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-06-20 08:43:57 +0000
committerMartin Willi <martin@strongswan.org>2006-06-20 08:43:57 +0000
commitaed58dcc937fe1c8ab0a1fe952f689a942f966f4 (patch)
tree47eb30fe1c2c4865c776548d683b22f1a04f3d95 /src/stroke/stroke.c
parent76dafed7a79fcb50949b131292958e262fbeb774 (diff)
downloadstrongswan-aed58dcc937fe1c8ab0a1fe952f689a942f966f4.tar.bz2
strongswan-aed58dcc937fe1c8ab0a1fe952f689a942f966f4.tar.xz
readded local_credential_store
added sendcert policy to connection some other cleanups
Diffstat (limited to 'src/stroke/stroke.c')
-rw-r--r--src/stroke/stroke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index 8cce1950c..c8ec9c728 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -122,7 +122,7 @@ static int add_connection(char *name,
msg.add_conn.me.subnet_mask = my_netmask;
msg.add_conn.me.cert = NULL;
msg.add_conn.me.ca = NULL;
- msg.add_conn.me.sendcert = CERT_SEND_IF_ASKED;
+ msg.add_conn.me.sendcert = 1;
msg.add_conn.other.id = push_string(&msg, other_id);
msg.add_conn.other.address = push_string(&msg, other_addr);
@@ -130,7 +130,7 @@ static int add_connection(char *name,
msg.add_conn.other.subnet_mask = other_netmask;
msg.add_conn.other.cert = NULL;
msg.add_conn.other.ca = NULL;
- msg.add_conn.other.sendcert = CERT_SEND_IF_ASKED;
+ msg.add_conn.other.sendcert = 1;
return send_stroke_msg(&msg);
}