aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/task.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-10-27 17:31:43 +0100
committerTobias Brunner <tobias@strongswan.org>2016-03-10 11:07:15 +0100
commit8ce78e43a4746ce4d3d107ef2ed2f4e13f1c9c8f (patch)
tree960f275d63b9d1cbc7d82caad07d61860f39a2e4 /src/libcharon/sa/task.c
parent034a462901209dd8f04bf984ef90c2d6ba2c776e (diff)
downloadstrongswan-8ce78e43a4746ce4d3d107ef2ed2f4e13f1c9c8f.tar.bz2
strongswan-8ce78e43a4746ce4d3d107ef2ed2f4e13f1c9c8f.tar.xz
ikev2: Add task that verifies a peer's certificate
On failure the SA is deleted and reestablished as configured. The task is activated after the REAUTH_COMPLETE task so a make-before-break reauth is completed before the new SA might get torn down.
Diffstat (limited to 'src/libcharon/sa/task.c')
-rw-r--r--src/libcharon/sa/task.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcharon/sa/task.c b/src/libcharon/sa/task.c
index 4bd2ba221..405eda66b 100644
--- a/src/libcharon/sa/task.c
+++ b/src/libcharon/sa/task.c
@@ -29,6 +29,7 @@ ENUM(task_type_names, TASK_IKE_INIT, TASK_ISAKMP_CERT_POST,
"IKE_REAUTH",
"IKE_REAUTH_COMPLETE",
"IKE_REDIRECT",
+ "IKE_VERIFY_PEER_CERT",
"IKE_DELETE",
"IKE_DPD",
"IKE_VENDOR",