Lines Matching refs:ssl_ctx_options
1016 int ssl_ctx_options = SSL_OP_ALL; in php_get_crypto_method_ctx_flags() local
1020 ssl_ctx_options |= SSL_OP_NO_SSLv2; in php_get_crypto_method_ctx_flags()
1025 ssl_ctx_options |= SSL_OP_NO_SSLv3; in php_get_crypto_method_ctx_flags()
1029 ssl_ctx_options |= SSL_OP_NO_TLSv1; in php_get_crypto_method_ctx_flags()
1033 ssl_ctx_options |= SSL_OP_NO_TLSv1_1; in php_get_crypto_method_ctx_flags()
1038 ssl_ctx_options |= SSL_OP_NO_TLSv1_2; in php_get_crypto_method_ctx_flags()
1042 return ssl_ctx_options; in php_get_crypto_method_ctx_flags()
1269 long ssl_ctx_options = SSL_CTX_get_options(ctx); in set_server_specific_opts() local
1289 ssl_ctx_options |= SSL_OP_SINGLE_DH_USE; in set_server_specific_opts()
1295 ssl_ctx_options |= SSL_OP_CIPHER_SERVER_PREFERENCE; in set_server_specific_opts()
1298 SSL_CTX_set_options(ctx, ssl_ctx_options); in set_server_specific_opts()
1512 int ssl_ctx_options; in php_openssl_setup_crypto() local
1536 ssl_ctx_options = SSL_OP_ALL; in php_openssl_setup_crypto()
1543 ssl_ctx_options = php_get_crypto_method_ctx_flags(method_flags); in php_openssl_setup_crypto()
1544 if (ssl_ctx_options == -1) { in php_openssl_setup_crypto()
1563 ssl_ctx_options |= SSL_OP_NO_TICKET; in php_openssl_setup_crypto()
1568 ssl_ctx_options &= ~SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS; in php_openssl_setup_crypto()
1573 ssl_ctx_options |= SSL_OP_NO_COMPRESSION; in php_openssl_setup_crypto()
1635 SSL_CTX_set_options(sslsock->ctx, ssl_ctx_options); in php_openssl_setup_crypto()