Lines Matching refs:is_client
197 int is_client; member
573 : sslsock->is_client; in php_openssl_apply_peer_verification_policy()
577 : sslsock->is_client; in php_openssl_apply_peer_verification_policy()
633 if (peer_name == NULL && sslsock->is_client) { in php_openssl_apply_peer_verification_policy()
766 ssl_policy_params.dwAuthType = (sslsock->is_client) ? AUTHTYPE_SERVER : AUTHTYPE_CLIENT; in php_openssl_win_cert_verify_callback()
895 } else if (!sslsock->is_client) { in php_openssl_enable_peer_verification()
922 if (sslsock->is_client && !SSL_CTX_set_default_verify_paths(ctx)) { in php_openssl_enable_peer_verification()
1679 sslsock->is_client = cparam->inputs.method & STREAM_CRYPTO_IS_CLIENT; in php_openssl_setup_crypto()
1682 method = sslsock->is_client ? SSLv23_client_method() : SSLv23_server_method(); in php_openssl_setup_crypto()
1761 if (sslsock->is_client) { in php_openssl_setup_crypto()
1788 if (sslsock->is_client == 0 && in php_openssl_setup_crypto()
1818 if (!sslsock->is_client && php_openssl_enable_server_sni(stream, sslsock) == FAILURE) { in php_openssl_setup_crypto()
1824 if (!sslsock->is_client) { in php_openssl_setup_crypto()
1914 if (sslsock->is_client) { in php_openssl_enable_crypto()
1920 if (sslsock->is_client) { in php_openssl_enable_crypto()
1935 timeout = sslsock->is_client ? &sslsock->connect_timeout : &sslsock->s.timeout; in php_openssl_enable_crypto()
1946 if (sslsock->is_client) { in php_openssl_enable_crypto()