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)