Lines Matching refs:PHP_STREAM_CONTEXT

108 …(PHP_STREAM_CONTEXT(stream) && (val = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "s…
1103 if (PHP_STREAM_CONTEXT(stream) && (val = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), in php_openssl_limit_handshake_reneg()
1146 if (PHP_STREAM_CONTEXT(stream) && in php_openssl_init_server_reneg_limit()
1147 NULL != (val = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "reneg_limit")) in php_openssl_init_server_reneg_limit()
1157 if (PHP_STREAM_CONTEXT(stream) && in php_openssl_init_server_reneg_limit()
1158 NULL != (val = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "reneg_window")) in php_openssl_init_server_reneg_limit()
1207 zdhpath = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "dh_param"); in php_openssl_set_server_dh_param()
1256 zvcurve = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "ecdh_curve"); in php_openssl_set_server_ecdh_curve()
1305 if (php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "rsa_key_size") != NULL) { in php_openssl_set_server_specific_opts()
1310 zv = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "single_dh_use"); in php_openssl_set_server_specific_opts()
1315 zv = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "honor_cipher_order"); in php_openssl_set_server_specific_opts()
1722 PHP_STREAM_CONTEXT(stream) && in php_openssl_setup_crypto()
1829 if (NULL != (val = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), in php_openssl_capture_peer_certs()
1834 php_stream_context_set_option(PHP_STREAM_CONTEXT(stream), "ssl", "peer_certificate", &zcert); in php_openssl_capture_peer_certs()
1839 if (NULL != (val = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), in php_openssl_capture_peer_certs()
1862 php_stream_context_set_option(PHP_STREAM_CONTEXT(stream), "ssl", "peer_certificate_chain", &arr); in php_openssl_capture_peer_certs()
1965 if (peer_cert && PHP_STREAM_CONTEXT(stream)) { in php_openssl_enable_crypto()
1975 if (PHP_STREAM_CONTEXT(stream)) { in php_openssl_enable_crypto()
1977 if (NULL != (val = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), in php_openssl_enable_crypto()
1988 php_stream_context_set_option(PHP_STREAM_CONTEXT(stream), "ssl", "session_meta", &meta_arr); in php_openssl_enable_crypto()
1999 if (peer_cert && PHP_STREAM_CONTEXT(stream)) { in php_openssl_enable_crypto()
2178 php_stream_notify_progress_increment(PHP_STREAM_CONTEXT(stream), nr_bytes, 0); in php_openssl_sockop_io()
2325 if (PHP_STREAM_CONTEXT(stream) && in php_openssl_tcp_sockop_accept()
2326 …(tmpzval = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "socket", "tcp_nodelay")) != … in php_openssl_tcp_sockop_accept()