diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-11-09 16:07:03 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-11-09 16:07:03 +0100 |
commit | 4ccc4fd97c01eca5ec0bbe7281a51aa5c363f5e7 (patch) | |
tree | 3c16ea6340b4ac22992fe86e48ad2aa8153b9c7e /src | |
parent | 84f9b9f9bd50a62358a151189070e3402fad5813 (diff) | |
download | strongswan-4ccc4fd97c01eca5ec0bbe7281a51aa5c363f5e7.tar.bz2 strongswan-4ccc4fd97c01eca5ec0bbe7281a51aa5c363f5e7.tar.xz |
abort if fatal error is received from peer
Diffstat (limited to 'src')
-rw-r--r-- | src/libpts/plugins/imv_attestation/imv_attestation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpts/plugins/imv_attestation/imv_attestation.c b/src/libpts/plugins/imv_attestation/imv_attestation.c index 9d36f2acc..8adca9897 100644 --- a/src/libpts/plugins/imv_attestation/imv_attestation.c +++ b/src/libpts/plugins/imv_attestation/imv_attestation.c @@ -284,7 +284,7 @@ static TNC_Result receive_message(imv_state_t *state, imv_msg_t *in_msg) pts->set_platform_info(pts, os_name, os_version); } - if (result != TNC_RESULT_SUCCESS) + if (fatal_error || result != TNC_RESULT_SUCCESS) { out_msg->delete_attributes(out_msg); state->set_recommendation(state, |