summaryrefslogtreecommitdiff
path: root/pjnath/src/pjnath-test/stun.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-10-07 08:38:02 +0000
committerBenny Prijono <bennylp@teluu.com>2009-10-07 08:38:02 +0000
commitdd24667ae19923f1d5ca50628dd164be96a08d61 (patch)
treec867e722739e1bbac92a2284f2e3fc86637737e4 /pjnath/src/pjnath-test/stun.c
parent1523d8e3556c4c82d76914337892ab140d4e5045 (diff)
More ticket #960: STUN compatibility problem with RFC 3489 servers (in encoding SERVER-NAME or SOFTWARE attribute)
- rollback the previous fix in r2916 since it is broken. It fails various authentication scenarios due to alignment of USERNAME attribute - this fix only applies old alignment rule to SERVERNAME attribute or when STUN magic is not used in the message - also disabled test vectors from draft-denis-behave-rfc3489bis-test-vectors-02, it fails with this fix git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2928 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/src/pjnath-test/stun.c')
-rw-r--r--pjnath/src/pjnath-test/stun.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/pjnath/src/pjnath-test/stun.c b/pjnath/src/pjnath-test/stun.c
index 9efc08d9..ccfbc474 100644
--- a/pjnath/src/pjnath-test/stun.c
+++ b/pjnath/src/pjnath-test/stun.c
@@ -479,7 +479,9 @@ static struct test_vector
"",
"",
&create_msgint1
- },
+ }
+ /* disabled: see http://trac.pjsip.org/repos/ticket/960
+ ,
{
PJ_STUN_BINDING_RESPONSE,
"\xb7\xe7\xa7\x01\xbc\x34\xd6\x86\xfa\x87\xdf\xae",
@@ -503,6 +505,9 @@ static struct test_vector
"",
&create_msgint2
}
+ */
+
+ /* disabled: see http://trac.pjsip.org/repos/ticket/960
#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0
,
{
@@ -542,6 +547,7 @@ static struct test_vector
&create_msgint3
}
#endif
+ */
};