]> git.pld-linux.org Git - packages/pjproject.git/commitdiff
disable PJ_HASH_USE_OWN_TOLOWER, as Digium recommends auto/th/pjproject-2.5.5-3
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 8 Dec 2016 12:48:01 +0000 (13:48 +0100)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 8 Dec 2016 12:48:01 +0000 (13:48 +0100)
http://lists.digium.com/pipermail/asterisk-dev/2016-December/076026.html
https://issues.asterisk.org/jira/browse/ASTERISK-26490

config_site.h
pjproject.spec

index 32fca7e9f4e315da053f89f38dd20ddbb3f0c3a4..874fb2d55b8388b3435d3726908c98a9917746f8 100644 (file)
 /* Defaults too low for WebRTC */
 #define PJ_ICE_MAX_CAND 32
 #define PJ_ICE_MAX_CHECKS (PJ_ICE_MAX_CAND * 2)
+
+/*
+ * Do not ever enable PJ_HASH_USE_OWN_TOLOWER because the algorithm is
+ * inconsistently used when calculating the hash value and doesn't
+ * convert the same characters as pj_tolower()/tolower().  Thus you
+ * can get different hash values if the string hashed has certain
+ * characters in it.  (ASCII '@', '[', '\\', ']', '^', and '_')
+ */
+#undef PJ_HASH_USE_OWN_TOLOWER
index da9a5f150b561812c8a285f61ce478dc9fb1bc5f..88ee90fffdf8ee65c599bb88dd54d6f1b2f149c2 100644 (file)
@@ -20,7 +20,7 @@
 Summary:       PJSIP - free and open source multimedia communication library
 Name:          pjproject
 Version:       2.5.5
-Release:       2
+Release:       3
 License:       GPL v2+
 Group:         Libraries
 Source0:       http://www.pjsip.org/release/%{version}/%{name}-%{version}.tar.bz2
This page took 0.087121 seconds and 4 git commands to generate.