From 4ac137135a53b9b924a55a261886d28cb2577b05 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 15 Dec 2011 10:01:35 +0100 Subject: [PATCH] Fixed return value if SIG payload missing --- src/libcharon/sa/authenticators/pubkey_v1_authenticator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcharon/sa/authenticators/pubkey_v1_authenticator.c b/src/libcharon/sa/authenticators/pubkey_v1_authenticator.c index a947349c9..7da1953af 100644 --- a/src/libcharon/sa/authenticators/pubkey_v1_authenticator.c +++ b/src/libcharon/sa/authenticators/pubkey_v1_authenticator.c @@ -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);