Lines Matching refs:is_client
164 int is_client; member
521 : sslsock->is_client; in php_openssl_apply_peer_verification_policy()
525 : sslsock->is_client; in php_openssl_apply_peer_verification_policy()
580 if (peer_name == NULL && sslsock->is_client) { in php_openssl_apply_peer_verification_policy()
718 ssl_policy_params.dwAuthType = (sslsock->is_client) ? AUTHTYPE_SERVER : AUTHTYPE_CLIENT; in php_openssl_win_cert_verify_callback()
847 } else if (!sslsock->is_client) { in php_openssl_enable_peer_verification()
875 if (sslsock->is_client && !SSL_CTX_set_default_verify_paths(ctx)) { in php_openssl_enable_peer_verification()
1614 sslsock->is_client = cparam->inputs.method & STREAM_CRYPTO_IS_CLIENT; in php_openssl_setup_crypto()
1617 method = sslsock->is_client ? SSLv23_client_method() : SSLv23_server_method(); in php_openssl_setup_crypto()
1691 if (sslsock->is_client) { in php_openssl_setup_crypto()
1718 if (sslsock->is_client == 0 && in php_openssl_setup_crypto()
1748 if (!sslsock->is_client && php_openssl_enable_server_sni(stream, sslsock) == FAILURE) { in php_openssl_setup_crypto()
1754 if (!sslsock->is_client) { in php_openssl_setup_crypto()
1844 if (sslsock->is_client) { in php_openssl_enable_crypto()
1850 if (sslsock->is_client) { in php_openssl_enable_crypto()
1872 timeout = sslsock->is_client ? &sslsock->connect_timeout : &sslsock->s.timeout; in php_openssl_enable_crypto()
1883 if (sslsock->is_client) { in php_openssl_enable_crypto()