aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starterstroke.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-02-23 15:13:21 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-02-23 15:13:21 +0000
commit113be7f18634553ab066fff0d08c6d8d75f35bd8 (patch)
treec0036ba05eb87325da458835ea91e7934a52ce2b /src/starter/starterstroke.c
parent1ff95477e701532234302e0e6911507668dce44e (diff)
downloadstrongswan-113be7f18634553ab066fff0d08c6d8d75f35bd8.tar.bz2
strongswan-113be7f18634553ab066fff0d08c6d8d75f35bd8.tar.xz
support of ca info records
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r--src/starter/starterstroke.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index 6239d0ec5..28d777a21 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -269,11 +269,12 @@ int starter_stroke_add_ca(starter_ca_t *ca)
msg.type = STR_ADD_CA;
msg.length = offsetof(stroke_msg_t, buffer);
- msg.add_ca.name = push_string(&msg, ca->name);
- msg.add_ca.cacert = push_string(&msg, ca->cacert);
- msg.add_ca.crluri = push_string(&msg, ca->crluri);
- msg.add_ca.crluri2 = push_string(&msg, ca->crluri2);
- msg.add_ca.ocspuri = push_string(&msg, ca->ocspuri);
+ msg.add_ca.name = push_string(&msg, ca->name);
+ msg.add_ca.cacert = push_string(&msg, ca->cacert);
+ msg.add_ca.crluri = push_string(&msg, ca->crluri);
+ msg.add_ca.crluri2 = push_string(&msg, ca->crluri2);
+ msg.add_ca.ocspuri = push_string(&msg, ca->ocspuri);
+ msg.add_ca.ocspuri2 = push_string(&msg, ca->ocspuri2);
return send_stroke_msg(&msg);
}