required CA is that.ca not this.ca
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 17 Aug 2007 07:22:04 +0000 (07:22 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 17 Aug 2007 07:22:04 +0000 (07:22 -0000)
src/pluto/ipsec_doi.c

index 1c22b29..1183f9c 100644 (file)
@@ -2479,7 +2479,7 @@ switch_connection(struct msg_digest *md, struct id *peer, bool initiator)
        DBG(DBG_CONTROL,
            char buf[BUF_LEN];
 
-           dntoa_or_null(buf, BUF_LEN, c->spd.this.ca, "%none");
+           dntoa_or_null(buf, BUF_LEN, c->spd.that.ca, "%none");
            DBG_log("required CA:  '%s'", buf);
         )