Fixed return value if SIG payload missing
authorMartin Willi <martin@revosec.ch>
Thu, 15 Dec 2011 09:01:35 +0000 (10:01 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:31:22 +0000 (17:31 +0100)
src/libcharon/sa/authenticators/pubkey_v1_authenticator.c

index a947349..7da1953 100644 (file)
@@ -137,7 +137,7 @@ METHOD(authenticator_t, process, status_t,
        if (!sig_payload)
        {
                DBG1(DBG_IKE, "SIG payload missing in message");
-               return FALSE;
+               return FAILED;
        }
 
        id = this->ike_sa->get_other_id(this->ike_sa);