From d9eaecd373e91ddac1c43cfffdf46beb85762867 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 10 Aug 2011 17:42:30 +0200 Subject: [PATCH] If local authentication fails, it is not really a peer auth failure. --- src/libcharon/sa/tasks/ike_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcharon/sa/tasks/ike_auth.c b/src/libcharon/sa/tasks/ike_auth.c index 6709d0a9d..13d38d648 100644 --- a/src/libcharon/sa/tasks/ike_auth.c +++ b/src/libcharon/sa/tasks/ike_auth.c @@ -971,7 +971,7 @@ METHOD(task_t, process_i, status_t, case NEED_MORE: break; default: - goto peer_auth_failed; + return FAILED; } } if (mutual_eap)