Added task types for IKEv1 certificate handling
authorMartin Willi <martin@revosec.ch>
Tue, 6 Dec 2011 10:44:17 +0000 (11:44 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:31:13 +0000 (17:31 +0100)
src/libcharon/sa/tasks/task.c
src/libcharon/sa/tasks/task.h

index 2f12ed5..145a4d6 100644 (file)
@@ -39,6 +39,8 @@ ENUM(task_type_names, TASK_IKE_INIT, TASK_XAUTH_REQUEST,
        "QUICK_MODE",
        "VENDOR_V1",
        "IKE_NATD_V1",
+       "IKE_CERT_PRE_V1",
+       "IKE_CERT_POST_V1",
        "XAUTH_REQUEST",
 );
 #else
@@ -63,6 +65,8 @@ ENUM(task_type_names, TASK_IKE_INIT, TASK_XAUTH_REQUEST,
        "QUICK_MODE",
        "VENDOR_V1",
        "IKE_NATD_V1",
+       "IKE_CERT_PRE_V1",
+       "IKE_CERT_POST_V1",
        "XAUTH_REQUEST",
 );
 #endif /* ME */
index e4edb78..6fb8144 100644 (file)
@@ -77,6 +77,10 @@ enum task_type_t {
        TASK_VENDOR_V1,
        /** IKEv1 NAT detection */
        TASK_IKE_NATD_V1,
+       /** IKEv1 pre-authentication certificate handling */
+       TASK_IKE_CERT_PRE_V1,
+       /** IKEv1 post-authentication certificate handling */
+       TASK_IKE_CERT_POST_V1,
        /** Request the user/pass with XAUTH */
        TASK_XAUTH_REQUEST,
 };