diff options
author | Yves-Alexis Perez <corsac@debian.org> | 2013-11-01 13:32:07 +0100 |
---|---|---|
committer | Yves-Alexis Perez <corsac@debian.org> | 2013-11-01 13:32:07 +0100 |
commit | a54780509260a8cb6f0344f531da168b34410dd5 (patch) | |
tree | 477239a312679174252f39f7a80bc8bf33836d9a /testing/scripts/recipes/patches/freeradius-avp-size | |
parent | 6e50941f7ce9c6f2d6888412968c7f4ffb495379 (diff) | |
parent | 5313d2d78ca150515f7f5eb39801c100690b6b29 (diff) | |
download | vyos-strongswan-a54780509260a8cb6f0344f531da168b34410dd5.tar.gz vyos-strongswan-a54780509260a8cb6f0344f531da168b34410dd5.zip |
Merge tag 'upstream/5.1.1'
Upstream version 5.1.1
Diffstat (limited to 'testing/scripts/recipes/patches/freeradius-avp-size')
-rw-r--r-- | testing/scripts/recipes/patches/freeradius-avp-size | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/testing/scripts/recipes/patches/freeradius-avp-size b/testing/scripts/recipes/patches/freeradius-avp-size deleted file mode 100644 index e7e1f635b..000000000 --- a/testing/scripts/recipes/patches/freeradius-avp-size +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c b/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c -index 6c9bd13..3344c53 100644 ---- a/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c -+++ b/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c -@@ -201,8 +201,11 @@ static VALUE_PAIR *diameter2vp(REQUEST *request, SSL *ssl, - goto next_attr; - } - -- if (size > 253) { -- RDEBUG2("WARNING: diameter2vp skipping long attribute %u, attr"); -+ /* -+ * EAP-Message AVPs can be larger than 253 octets. -+ */ -+ if ((size > 253) && !((VENDOR(attr) == 0) && (attr == PW_EAP_MESSAGE))) { -+ RDEBUG2("WARNING: diameter2vp skipping long attribute %u", attr); - goto next_attr; - } - |