diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-08-06 11:52:21 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2007-08-06 11:52:21 +0000 |
commit | d9f129eb1d0ede2db81c05973463c302abbea37a (patch) | |
tree | 761dbfe52b69cf0fb87641fd88094c6e697c01a4 | |
parent | 64a552ae2dce8fed67ebf429d614a1b5f28a79a1 (diff) | |
download | strongswan-d9f129eb1d0ede2db81c05973463c302abbea37a.tar.bz2 strongswan-d9f129eb1d0ede2db81c05973463c302abbea37a.tar.xz |
separate the PSK IDs by spaces
-rw-r--r-- | src/pluto/keys.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pluto/keys.c b/src/pluto/keys.c index 2113f13a8..144b72256 100644 --- a/src/pluto/keys.c +++ b/src/pluto/keys.c @@ -792,6 +792,10 @@ log_psk(secret_t *s) n = BUF_LEN - 1; break; } + else if (n < BUF_LEN - 1) + { + n += snprintf(buf + n, BUF_LEN - n, " "); + } id_list = id_list->next; } while (id_list); |