summaryrefslogtreecommitdiff
path: root/pjlib/src/pjlib-test
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 /pjlib/src/pjlib-test
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 'pjlib/src/pjlib-test')
-rw-r--r--pjlib/src/pjlib-test/ssl_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/src/pjlib-test/ssl_sock.c b/pjlib/src/pjlib-test/ssl_sock.c
index 4ebf9979..92fffd86 100644
--- a/pjlib/src/pjlib-test/ssl_sock.c
+++ b/pjlib/src/pjlib-test/ssl_sock.c
@@ -40,7 +40,7 @@ struct send_key {
static int get_cipher_list(void) {
pj_status_t status;
- pj_ssl_cipher ciphers[100];
+ pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];
unsigned cipher_num;
unsigned i;