output peer id if RSA public key is not found

This commit is contained in:
Andreas Steffen
2007-02-02 11:04:05 +00:00
parent 846e4b0517
commit f56d2b2623
+1 -1
View 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)
{