aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-05-28 15:07:09 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-05-28 15:07:21 +0200
commite8960c2a99f9f95eaf0fb9dfad67c4c3540f5690 (patch)
tree605eea0e6cd864be16efead2304dcc5ed959f350 /src
parent2e08be79a30ba9336311e63fbc75b34b906c87f9 (diff)
downloadstrongswan-e8960c2a99f9f95eaf0fb9dfad67c4c3540f5690.tar.bz2
strongswan-e8960c2a99f9f95eaf0fb9dfad67c4c3540f5690.tar.xz
be lenient towards wrong attribute encodings
Diffstat (limited to 'src')
-rw-r--r--src/pluto/modecfg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pluto/modecfg.c b/src/pluto/modecfg.c
index f4c33e83c..50e14faa0 100644
--- a/src/pluto/modecfg.c
+++ b/src/pluto/modecfg.c
@@ -557,12 +557,6 @@ static stf_status modecfg_parse_attributes(pb_stream *attrs, linked_list_t *ca_l
/* XAUTH attributes */
case XAUTH_TYPE:
case XAUTH_STATUS:
- if (!(attr.isaat_af_type & ISAKMP_ATTR_AF_TV))
- {
- plog("%N attribute is not TV encoded",
- configuration_attribute_type_names, attr_type);
- return STF_FAIL;
- }
case XAUTH_USER_NAME:
case XAUTH_USER_PASSWORD:
case XAUTH_PASSCODE: