Lines Matching refs:ssl_ctx_options
997 int ssl_ctx_options = SSL_OP_ALL; in php_openssl_get_crypto_method_ctx_flags() local
1000 ssl_ctx_options |= SSL_OP_NO_SSLv2; in php_openssl_get_crypto_method_ctx_flags()
1004 ssl_ctx_options |= SSL_OP_NO_SSLv3; in php_openssl_get_crypto_method_ctx_flags()
1009 ssl_ctx_options |= SSL_OP_NO_TLSv1; in php_openssl_get_crypto_method_ctx_flags()
1014 ssl_ctx_options |= SSL_OP_NO_TLSv1_1; in php_openssl_get_crypto_method_ctx_flags()
1019 ssl_ctx_options |= SSL_OP_NO_TLSv1_2; in php_openssl_get_crypto_method_ctx_flags()
1024 ssl_ctx_options |= SSL_OP_NO_TLSv1_3; in php_openssl_get_crypto_method_ctx_flags()
1028 return ssl_ctx_options; in php_openssl_get_crypto_method_ctx_flags()
1350 long ssl_ctx_options = SSL_CTX_get_options(ctx); in php_openssl_set_server_specific_opts() local
1372 ssl_ctx_options |= SSL_OP_SINGLE_DH_USE; in php_openssl_set_server_specific_opts()
1377 ssl_ctx_options |= SSL_OP_CIPHER_SERVER_PREFERENCE; in php_openssl_set_server_specific_opts()
1380 SSL_CTX_set_options(ctx, ssl_ctx_options); in php_openssl_set_server_specific_opts()
1662 int ssl_ctx_options; in php_openssl_setup_crypto() local
1698 ssl_ctx_options = php_openssl_get_crypto_method_ctx_flags(method_flags); in php_openssl_setup_crypto()
1700 ssl_ctx_options = SSL_OP_ALL; in php_openssl_setup_crypto()
1704 ssl_ctx_options |= SSL_OP_NO_TICKET; in php_openssl_setup_crypto()
1707 ssl_ctx_options &= ~SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS; in php_openssl_setup_crypto()
1711 ssl_ctx_options |= SSL_OP_IGNORE_UNEXPECTED_EOF; in php_openssl_setup_crypto()
1715 ssl_ctx_options |= SSL_OP_NO_COMPRESSION; in php_openssl_setup_crypto()
1785 SSL_CTX_set_options(sslsock->ctx, ssl_ctx_options); in php_openssl_setup_crypto()