aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-02-02 11:04:05 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-02-02 11:04:05 +0000
commitf56d2b26235025abd07016f0176a83222a00ba04 (patch)
tree3616dbe559a2fc35bc1956eeb909738e9e0de179
parent846e4b051712ae88ee7829610b4d8ca145e7386d (diff)
downloadstrongswan-f56d2b26235025abd07016f0176a83222a00ba04.tar.bz2
strongswan-f56d2b26235025abd07016f0176a83222a00ba04.tar.xz
output peer id if RSA public key is not found
-rw-r--r--src/pluto/ipsec_doi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/ipsec_doi.c b/src/pluto/ipsec_doi.c
index f35b5f9f3..306f7d213 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)
{