summaryrefslogtreecommitdiff
path: root/pjsip/src
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2015-04-23 02:42:49 +0000
committerLiong Sauw Ming <ming@teluu.com>2015-04-23 02:42:49 +0000
commita21885c3133c2f35be44dfcd14fb2023b1d60c89 (patch)
tree04231ae5d45b4e42d01a74bbe044c226ccb05b81 /pjsip/src
parent21f84b3fc05ba3e820001bc9d7234b72ace47a8a (diff)
Fixed #1845: Add support if OpenSSL library has more than 100 cipher suites
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5076 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src')
-rw-r--r--pjsip/src/pjsua2/endpoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/pjsua2/endpoint.cpp b/pjsip/src/pjsua2/endpoint.cpp
index e7fcded3..a12dced4 100644
--- a/pjsip/src/pjsua2/endpoint.cpp
+++ b/pjsip/src/pjsua2/endpoint.cpp
@@ -1452,7 +1452,7 @@ void Endpoint::utilTimerCancel(Token prmTimerToken)
IntVector Endpoint::utilSslGetAvailableCiphers() throw (Error)
{
#if PJ_HAS_SSL_SOCK
- pj_ssl_cipher ciphers[64];
+ pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];
unsigned count = PJ_ARRAY_SIZE(ciphers);
PJSUA2_CHECK_EXPR( pj_ssl_cipher_get_availables(ciphers, &count) );