]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Fixed log message when no shared secret is found during IKEv1 Main Mode
authorTobias Brunner <tobias@strongswan.org>
Mon, 29 Oct 2012 09:01:46 +0000 (10:01 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 29 Oct 2012 09:04:37 +0000 (10:04 +0100)
src/libcharon/sa/ikev1/phase1.c

index 636e06af6857bea4158ddbc37515655fa9e18e74..1189d3c69a0f1ed27f32c3f7d5cb31374fd8b482 100644 (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);
        }