output peer id if RSA public key is not found
[strongswan.git] / src / pluto / ipsec_doi.c
index f35b5f9..306f7d2 100644 (file)
@@ -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)
        {