From: Andreas Steffen Date: Fri, 2 Feb 2007 11:04:05 +0000 (-0000) Subject: output peer id if RSA public key is not found X-Git-Tag: 4.0.7~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f56d2b26235025abd07016f0176a83222a00ba04;p=thirdparty%2Fstrongswan.git output peer id if RSA public key is not found --- diff --git a/src/pluto/ipsec_doi.c b/src/pluto/ipsec_doi.c index f35b5f9f33..306f7d2133 100644 --- a/src/pluto/ipsec_doi.c +++ b/src/pluto/ipsec_doi.c @@ -1772,7 +1772,7 @@ RSA_check_signature(const struct id* peer { char id_buf[BUF_LEN]; /* arbitrary limit on length of ID reported */ - (void) idtoa(&st->st_connection->spd.that.id, id_buf, sizeof(id_buf)); + (void) idtoa(peer, id_buf, sizeof(id_buf)); if (s.best_ugh == NULL) {