Fixed log message when no shared secret is found during IKEv1 Main Mode

This commit is contained in:
Tobias Brunner
2012-10-29 10:04:37 +01:00
parent bbd454a467
commit f30962de74
+1 -1
View File
@@ -186,7 +186,7 @@ static shared_key_t *lookup_shared_key(private_phase1_t *this,
}
}
enumerator->destroy(enumerator);
if (!peer_cfg)
if (!shared_key)
{
DBG1(DBG_IKE, "no shared key found for %H - %H", me, other);
}