aboutsummaryrefslogtreecommitdiffstats
path: root/src/libimcv/plugins/imv_test/imv_test_state.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-12-31 13:13:32 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2014-01-13 12:06:17 +0100
commit81d49c5cfd19d8cc0531f2ffec560852e3ae033d (patch)
treeebfc1121cf7b22816ee3711a858bb83923ac1e6e /src/libimcv/plugins/imv_test/imv_test_state.c
parent6009b6e0dd2ea3dbb033958b09448b5c602d6fc0 (diff)
downloadstrongswan-81d49c5cfd19d8cc0531f2ffec560852e3ae033d.tar.bz2
strongswan-81d49c5cfd19d8cc0531f2ffec560852e3ae033d.tar.xz
Allow reason strings to be used as workitem result string
Diffstat (limited to 'src/libimcv/plugins/imv_test/imv_test_state.c')
-rw-r--r--src/libimcv/plugins/imv_test/imv_test_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libimcv/plugins/imv_test/imv_test_state.c b/src/libimcv/plugins/imv_test/imv_test_state.c
index 0da09df67..f05db8027 100644
--- a/src/libimcv/plugins/imv_test/imv_test_state.c
+++ b/src/libimcv/plugins/imv_test/imv_test_state.c
@@ -228,7 +228,7 @@ METHOD(imv_state_t, get_reason_string, bool,
/* Instantiate a TNC Reason String object */
DESTROY_IF(this->reason_string);
- this->reason_string = imv_reason_string_create(*reason_language);
+ this->reason_string = imv_reason_string_create(*reason_language, "\n");
this->reason_string->add_reason(this->reason_string, reasons);
*reason_string = this->reason_string->get_encoding(this->reason_string);