Lines Matching refs:is_client

112 	int is_client;  member
465 : sslsock->is_client; in apply_peer_verification_policy()
470 : sslsock->is_client; in apply_peer_verification_policy()
530 if (peer_name == NULL && sslsock->is_client) { in apply_peer_verification_policy()
703 ssl_policy_params.dwAuthType = (sslsock->is_client) ? AUTHTYPE_SERVER : AUTHTYPE_CLIENT; in win_cert_verify_callback()
828 } else if (!sslsock->is_client) { in enable_peer_verification()
855 if (sslsock->is_client && !SSL_CTX_set_default_verify_paths(ctx)) { in enable_peer_verification()
935 static const SSL_METHOD *php_select_crypto_method(long method_value, int is_client TSRMLS_DC) /* {{… in php_select_crypto_method()
939 return is_client ? SSLv2_client_method() : SSLv2_server_method(); in php_select_crypto_method()
947 return is_client ? SSLv3_client_method() : SSLv3_server_method(); in php_select_crypto_method()
954 return is_client ? TLSv1_client_method() : TLSv1_server_method(); in php_select_crypto_method()
957 return is_client ? TLSv1_1_client_method() : TLSv1_1_server_method(); in php_select_crypto_method()
965 return is_client ? TLSv1_2_client_method() : TLSv1_2_server_method(); in php_select_crypto_method()
1462 sslsock->is_client = cparam->inputs.method & STREAM_CRYPTO_IS_CLIENT; in php_openssl_setup_crypto()
1468 method = php_select_crypto_method(method_flags, sslsock->is_client TSRMLS_CC); in php_openssl_setup_crypto()
1473 method = sslsock->is_client ? SSLv23_client_method() : SSLv23_server_method(); in php_openssl_setup_crypto()
1537 if (sslsock->is_client == 0 && in php_openssl_setup_crypto()
1560 if (sslsock->is_client == 0 && enable_server_sni(stream, sslsock TSRMLS_CC) == FAILURE) { in php_openssl_setup_crypto()
1566 if (sslsock->is_client == 0) { in php_openssl_setup_crypto()
1687 if (sslsock->is_client) { in php_openssl_enable_crypto()
1693 if (sslsock->is_client) { in php_openssl_enable_crypto()
1705 timeout = sslsock->is_client ? &sslsock->connect_timeout : &sslsock->s.timeout; in php_openssl_enable_crypto()
1716 if (sslsock->is_client) { in php_openssl_enable_crypto()