From 41787e147279ff0695e9d759487266a60b80867b Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Tue, 23 Jun 2009 11:25:24 +0000 Subject: [svn-upgrade] Integrating new upstream version, strongswan (4.3.2) --- src/stroke/stroke_msg.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/stroke/stroke_msg.h') diff --git a/src/stroke/stroke_msg.h b/src/stroke/stroke_msg.h index 81ad2e397..704c88c58 100644 --- a/src/stroke/stroke_msg.h +++ b/src/stroke/stroke_msg.h @@ -18,8 +18,6 @@ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. - * - * RCSID $Id: stroke_msg.h 4783 2008-12-10 13:00:02Z martin $ */ #ifndef STROKE_MSG_H_ @@ -105,6 +103,8 @@ enum purge_flag_t { PURGE_NONE = 0x0000, /** purge ocsp cache entries */ PURGE_OCSP = 0x0001, + /** purge IKE_SAs without a CHILD_SA */ + PURGE_IKE = 0x0002, }; /** @@ -123,9 +123,15 @@ typedef struct stroke_end_t stroke_end_t; * definition of a peer in a stroke message */ struct stroke_end_t { + char *auth; + char *auth2; char *id; + char *id2; + char *eap_id; char *cert; + char *cert2; char *ca; + char *ca2; char *groups; char *updown; char *address; @@ -206,6 +212,7 @@ struct stroke_msg_t { struct { char *name; int ikev2; + /* next three are deprecated, use stroke_end_t.auth instead */ int auth_method; u_int32_t eap_type; u_int32_t eap_vendor; -- cgit v1.2.3