If local authentication fails, it is not really a peer auth failure.
authorTobias Brunner <tobias@strongswan.org>
Wed, 10 Aug 2011 15:42:30 +0000 (17:42 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 12 Aug 2011 08:04:02 +0000 (10:04 +0200)
src/libcharon/sa/tasks/ike_auth.c

index 6709d0a..13d38d6 100644 (file)
@@ -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)