diff options
Diffstat (limited to 'src/charon/sa/authenticator.c')
-rw-r--r-- | src/charon/sa/authenticator.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/charon/sa/authenticator.c b/src/charon/sa/authenticator.c index d7b994e66..7a78b60f3 100644 --- a/src/charon/sa/authenticator.c +++ b/src/charon/sa/authenticator.c @@ -213,9 +213,12 @@ static status_t verify_auth_data (private_authenticator_t *this, } } - DBG1(SIG_DBG_IKE, "authentication of '%D' with %N %s", - other_id, auth_method_names, auth_method, - (status == SUCCESS)? "successful":"failed"); + if (status == SUCCESS) + { + DBG1(SIG_DBG_IKE, "authentication of '%D' with %N successful", + other_id, auth_method_names, auth_method); + } + return status; } |