authentication failure is handled in ike_auth.c

This commit is contained in:
Andreas Steffen 2007-05-15 19:05:26 +00:00
parent 16c72c0c4f
commit 9b6591e796
1 changed files with 5 additions and 3 deletions

View File

@ -78,9 +78,11 @@ static status_t verify(private_rsa_authenticator_t *this, chunk_t ike_sa_init,
octets, auth_data, other_id, &issuer);
chunk_free(&octets);
DBG1(DBG_IKE, "authentication of '%D' with %N %s",
other_id, auth_method_names, AUTH_RSA,
(status == SUCCESS)? "successful":"failed");
if (status == SUCCESS)
{
DBG1(DBG_IKE, "authentication of '%D' with %N successful",
other_id, auth_method_names, AUTH_RSA);
}
return status;
}