diff options
Diffstat (limited to 'pjlib/include')
-rw-r--r-- | pjlib/include/pj/config.h | 12 | ||||
-rw-r--r-- | pjlib/include/pj/ssl_sock.h | 5 |
2 files changed, 15 insertions, 2 deletions
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index cad816e8..bd27e01a 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -875,6 +875,18 @@ /** + * Specify what should be set as the available list of SSL_CIPHERs. For + * example, set this as "DEFAULT" to use the default cipher list (Note: + * PJSIP release 2.4 and before used this "DEFAULT" setting). + * + * Default: "HIGH:-COMPLEMENTOFDEFAULT" + */ +#ifndef PJ_SSL_SOCK_OSSL_CIPHERS +# define PJ_SSL_SOCK_OSSL_CIPHERS "HIGH:-COMPLEMENTOFDEFAULT" +#endif + + +/** * Disable WSAECONNRESET error for UDP sockets on Win32 platforms. See * https://trac.pjsip.org/repos/ticket/1197. * diff --git a/pjlib/include/pj/ssl_sock.h b/pjlib/include/pj/ssl_sock.h index 2d66b325..172943da 100644 --- a/pjlib/include/pj/ssl_sock.h +++ b/pjlib/include/pj/ssl_sock.h @@ -748,8 +748,9 @@ typedef struct pj_ssl_sock_param /** * Number of ciphers contained in the specified cipher preference. - * If this is set to zero, then default cipher list of the backend - * will be used. + * If this is set to zero, then the cipher list used will be determined + * by the backend default (for OpenSSL backend, setting + * PJ_SSL_SOCK_OSSL_CIPHERS will be used). */ unsigned ciphers_num; |