From a21885c3133c2f35be44dfcd14fb2023b1d60c89 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Thu, 23 Apr 2015 02:42:49 +0000 Subject: 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 --- pjsip/src/pjsua2/endpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pjsip/src') 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) ); -- cgit v1.2.3