Changeset 5076 for pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c
- Timestamp:
- Apr 23, 2015 2:42:49 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c
r5074 r5076 40 40 #define DELAYED_CLOSE_TIMEOUT 200 41 41 42 /* Maximum ciphers */43 #define MAX_CIPHERS 10044 45 42 /* 46 43 * Include OpenSSL headers … … 297 294 pj_ssl_cipher id; 298 295 const char *name; 299 } openssl_ciphers[ MAX_CIPHERS];296 } openssl_ciphers[PJ_SSL_SOCK_MAX_CIPHERS]; 300 297 301 298 /* OpenSSL application data index */ … … 346 343 347 344 ctx=SSL_CTX_new(meth); 348 SSL_CTX_set_cipher_list(ctx, "ALL ");345 SSL_CTX_set_cipher_list(ctx, "ALL:COMPLEMENTOFALL"); 349 346 350 347 ssl = SSL_new(ctx); … … 793 790 794 791 /* Set SSL with ALL available ciphers */ 795 SSL_set_cipher_list(ssock->ossl_ssl, "ALL ");792 SSL_set_cipher_list(ssock->ossl_ssl, "ALL:COMPLEMENTOFALL"); 796 793 797 794 /* Generate user specified cipher list in OpenSSL format */
Note: See TracChangeset
for help on using the changeset viewer.