diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-05-19 10:02:17 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-05-19 10:02:25 +0200 |
commit | a57820c59b5f138daf492422f0a1ce2181317ed0 (patch) | |
tree | 9deb9d634b51f7b0afb3cec36a0d292c3f63cacb /src/pluto/spdb.c | |
parent | 4491d66692a5737a94647b58f452a8f8df66809d (diff) | |
download | strongswan-a57820c59b5f138daf492422f0a1ce2181317ed0.tar.bz2 strongswan-a57820c59b5f138daf492422f0a1ce2181317ed0.tar.xz |
streamlined pluto alg_info debug output
Diffstat (limited to 'src/pluto/spdb.c')
-rw-r--r-- | src/pluto/spdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pluto/spdb.c b/src/pluto/spdb.c index 6bcc3f117..3b4027160 100644 --- a/src/pluto/spdb.c +++ b/src/pluto/spdb.c @@ -318,7 +318,7 @@ out_sa(pb_stream *outs DBG(DBG_CONTROL | DBG_CRYPT, if (st->st_connection->alg_info_esp) { - static char buf[256]=""; + static char buf[BUF_LEN]=""; alg_info_snprint(buf, sizeof (buf), (struct alg_info *)st->st_connection->alg_info_esp); @@ -342,7 +342,7 @@ out_sa(pb_stream *outs DBG(DBG_CONTROL | DBG_CRYPT, if (st->st_connection->alg_info_ike) { - static char buf[256]=""; + static char buf[BUF_LEN]=""; alg_info_snprint(buf, sizeof (buf), (struct alg_info *)st->st_connection->alg_info_ike); |