summaryrefslogtreecommitdiff
path: root/pjlib/src
AgeCommit message (Collapse)Author
2016-05-10Misc (re #1882): Fixed buffer size not sufficient when setting cipher list.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5285 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-13Fixed #1912: Build Error on Alpine linux (musl libc).Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5277 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-01Re #1909: Fixed crash related to r5264.Riza Sulistyo
- pj_generate_unique_string() expecting the user to specify the slen of the output string, this will lead to assert on pj_strncpy() if not set - modify PJ_GUID_STRING_LENGTH to 36 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5272 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-17Fixed #1909: GUID implementation for Android.Liong Sauw Ming
Thanks to Johan Lantz for the contribution. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5264 74dad513-b988-da41-8d7b-12977e46ad98
2016-01-27Misc (Re #1882): Add raw certificate information to pj_ssl_cert_info data. ↵Riza Sulistyo
Thanks to Peter Koletzki for the suggestion. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5238 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-31Re #1882 (misc): Add checks as ssocket_cli and state_cli can be NULLLiong Sauw Ming
Thanks to Dusan Klinec for the original patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5231 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30Re #1882 (misc): Fixed incorrect sizeof argument when using pj_bzero() and ↵Liong Sauw Ming
pj_memcpy() in ssl_sock_ossl.c Thanks to Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5220 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-23Misc (re #1882): Fixed wrong specifier used in ssl_sock_ossl.c (should be ↵Nanang Izzuddin
'PJ_DEF' instead of 'PJ_DECL'). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5216 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-11Fixed #1901: crash when async_cnt is set to a value greater than one for SIP ↵Liong Sauw Ming
TLS transport git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5214 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-06Re #1894: Fixed high socket descriptor check in ioqueue select, it should be ↵Nanang Izzuddin
against FD_SETSIZE instead of PJ_IOQUEUE_MAX_HANDLES, as PJ_IOQUEUE_MAX_HANDLES can be lower than FD_SETSIZE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5196 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-06Close #1894: Improve ioqueue performance on multithreadeded environment.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5194 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25Re #1881: Fixed compile warnings on VS2015 about declaration hides previous ↵Nanang Izzuddin
declaration. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-05Fixed #1874: Truncated IPv6 address during address lookup on iOSLiong Sauw Ming
Thanks to Brian Walker for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5146 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25Fixed #1862: Crash on iOS when destroying an activesock and creating a new ↵Liong Sauw Ming
one at the same time Thanks to Itay Bianco for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5119 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-12Re #1843 (misc): Fixed incorrect memcpy size in sock_common (thanks to ↵Liong Sauw Ming
Richard Mudgett for the patch and Joshua Colp for the report) If an IPv6 UDP transport is configured with a link-local address, say fe80::21c:c0ff:fe4e:1a9e%eth0, which is an invalid format for an IPv6 address, it may cause crash. The invalid format causes pjproject to use an incorrect size parameter with memcpy(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5092 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-07Close #1849: Enabled multiple TLS certificate chains (RSA+ECC+DSA) for ↵Nanang Izzuddin
server socket. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5087 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-05Misc (re #1843): Fixed compile warnings on pjlib SSL socket with BoringSSL ↵Nanang Izzuddin
backend (thanks Alexander Traud for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5083 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-27Re #1843: Enable OpenSSL to use legacy certificates(1024 bit root ↵Riza Sulistyo
certificate) send by server. This is supported on OpenSSL 1.0.2. Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5080 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23Fixed #1846: Update to use 'HIGH' ciphers as default in OpenSSLLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5078 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23Fixed #1845: Add support if OpenSSL library has more than 100 cipher suitesLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5076 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-22Re #1843:Liong Sauw Ming
Support compilation with OpenSSL without OpenSSLv3 support Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5074 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-10Misc (re #1782): Suppress compile warnings on MSVC.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5060 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-02Re #1782 (misc): Fixed activesock's lock msg w.r.t iOS background to be more ↵Liong Sauw Ming
precise. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5044 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22Fixed #1827: Video port's clock thread may get stuck during format change eventLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5012 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-06Fixed #1821: Remove unnecessary locking in pjsip transaction and add new API ↵Liong Sauw Ming
to create a group lock with handler in a single atomic instruction git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4992 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-06Re #1782 (misc): Suppress Helgrind's warning about possible data race when ↵Liong Sauw Ming
doing ioq select. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4991 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-05Re #1782 (misc): Fixed unitialized mutex owner variable when creating mutexLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4990 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-15Close #1810: Adding CA path support into SSL socket.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4973 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-05Re #1782 (misc): Change assert check of ssl_state to non assert check on ↵Riza Sulistyo
OpenSSL wrapper implementation. (thanks to Joshua Colp for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4972 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-18Re #1806: Implement SSL/TLS setting to set protocol operation.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4968 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-23Fixed #1792: Create generic JNI OnLoad functionLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4927 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-01Misc (re #1751): fixed printing value issue when using %02X format. (Thanks ↵Riza Sulistyo
Itay Bianco for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4910 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-26Misc (re #1751): Avoid confusion caused by double variable declaration. ↵Riza Sulistyo
(Thanks Itay Bianco for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4905 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-22Misc (re #1751): Suppress compile warnings of OpenSSL deprecation on MacOSX.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4901 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-20Misc re #1751: disable one pjlib-test entry on socket address parsingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4894 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-19Re #1751: fixed miscellaneous gcc warningsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4890 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-07Re #1765: Riza Sulistyo
- Fixed unnecessary white-space error - Limiting log message to servers - Adding SSL_OP_SINGLE_ECDH_USE optionally - OpenSSL could be built without elliptic curve support, or too old git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4871 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02Closed #1775: Changing OpenSSL default method from TLSv1 to SSLv23 to enable ↵Benny Prijono
enable AES-GCM cipher suites in default (thanks Alexander Traud for the patch). Also fixed a bug in SIP TLS transport (sip_transport_tls.c). According to [https://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip/include/pjsip/sip_transport_tls.h#L94 sip_transport_tls.h:94], when PJSIP_SSL_UNSPECIFIED_METHOD is set as method, PJSIP_SSL_DEFAULT_METHOD will be used. But the implementation uses PJ_SSL_SOCK_PROTO_DEFAULT instead of PJSIP_SSL_DEFAULT_METHOD. Currently this is fine because both resolve to TLSv1, but the patch will break it. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4869 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-19Fix #1773: Added group lock to SIP transport to avoid race condition between ↵Nanang Izzuddin
transport callback and destroy. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4862 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-19Re #1771: Implement run-time configuration to set specific socket option.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4860 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-06Misc (re #1751): fixed error when retrieving SSL error. Thanks Vittorio ↵Benny Prijono
Giovara for the patch git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4858 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-04Misc (re #1751): invalidate timer entry for every cancel() scenario to avoid ↵Benny Prijono
assertion next time the entry is scheduled if cancellation fails (thanks Johan Lantz for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4855 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-23Misc (re #1751): Fixed AF_INET should be PJ_AF_INET in sock_common.c (thanks ↵Nanang Izzuddin
Lars Helgeson for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4850 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-02Fixed #1765: Add PFS supportLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4832 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-30Fixed #1763: Add pj_ssl_cipher_id() APILiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4829 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-10Re #1745 (Shared lib on MinGW): Fixed multiple definition of ↵Nanang Izzuddin
pj_time_decode/encode(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4784 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-24Re #1680: Fixed compile warnings on VS2005 for x64/win64 config.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4761 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04Misc (re #1630): Fixing warnings about variable set but not used with recent gccBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4728 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-31Misc (re #1630): Fixed some more typos in the codes.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir ↵Nanang Izzuddin
Cohen for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98