summaryrefslogtreecommitdiff
path: root/pjnath/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-10-05 15:53:56 +0000
committerBenny Prijono <bennylp@teluu.com>2007-10-05 15:53:56 +0000
commitbbf99023bb3c06518bb36779c32ab5a438dba68e (patch)
tree1039f454516774b5f0ccc0b40913d159afeed4aa /pjnath/include
parentfccccf59ca44aa301c44e6c1a2a79acc4237fdf8 (diff)
Ticket #392: Added configuration to enable old, rfc3489bis-06 and older, style of MESSAGE-INTEGRITY and FINGERPRINT calculation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1479 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include')
-rw-r--r--pjnath/include/pjnath/config.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/pjnath/include/pjnath/config.h b/pjnath/include/pjnath/config.h
index 9ae03d22..bc381d78 100644
--- a/pjnath/include/pjnath/config.h
+++ b/pjnath/include/pjnath/config.h
@@ -111,7 +111,7 @@
* Maximum size of STUN message.
*/
#ifndef PJ_STUN_MAX_PKT_LEN
-# define PJ_STUN_MAX_PKT_LEN 512
+# define PJ_STUN_MAX_PKT_LEN 800
#endif
@@ -131,6 +131,16 @@
#endif
+/**
+ * Enable pre-RFC3489bis-07 style of STUN MESSAGE-INTEGRITY and FINGERPRINT
+ * calculation. By default this should be disabled since the calculation is
+ * not backward compatible with current STUN specification.
+ */
+#ifndef PJ_STUN_OLD_STYLE_MI_FINGERPRINT
+# define PJ_STUN_OLD_STYLE_MI_FINGERPRINT 0
+#endif
+
+
/* **************************************************************************
* ICE CONFIGURATION
*/