diff options
author | Tobias Brunner <tobias@strongswan.org> | 2008-04-18 11:24:45 +0000 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2008-04-18 11:24:45 +0000 |
commit | 6439267a8c7f22d2a4a221457fea2a26e2a7ff6d (patch) | |
tree | cc3b714d0831a09f701d2b64d350e75890d78dbf /src/starter/starterstroke.c | |
parent | eed87e1d766a2f74ae0017b01a8fd026dddb7156 (diff) | |
download | strongswan-6439267a8c7f22d2a4a221457fea2a26e2a7ff6d.tar.bz2 strongswan-6439267a8c7f22d2a4a221457fea2a26e2a7ff6d.tar.xz |
support for hash and URL encoded certificate payloads in charon
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r-- | src/starter/starterstroke.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c index 1ee7ddc60..d75d25a72 100644 --- a/src/starter/starterstroke.c +++ b/src/starter/starterstroke.c @@ -1,5 +1,4 @@ /* Stroke for charon is the counterpart to whack from pluto - * Copyright (C) 2007 Tobias Brunner * Copyright (C) 2006 Martin Willi * Hochschule fuer Technik Rapperswil * @@ -308,12 +307,13 @@ 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.ocspuri2 = push_string(&msg, ca->ocspuri2); + 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); + msg.add_ca.certuribase = push_string(&msg, ca->certuribase); return send_stroke_msg(&msg); } |