Home
last modified time | relevance | path

Searched refs:crypto_method (Results 1 – 11 of 11) sorted by relevance

/PHP-7.2/ext/openssl/tests/
H A Dstream_crypto_flags_003.phpt21 'crypto_method' => STREAM_CRYPTO_METHOD_SSLv3_SERVER | STREAM_CRYPTO_METHOD_TLSv1_2_SERVER,
46 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
49 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
52 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
H A Dstream_crypto_flags_002.phpt42 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
45 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
51 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
H A Dstream_crypto_flags_004.phpt18 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_0_SERVER,
48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
52 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
56 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
H A Dsession_meta_capture.phpt43 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
48 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT);
53 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
H A Dstream_crypto_flags_001.phpt41 …stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT);
44 stream_context_set_option($clientCtx, 'ssl', 'crypto_method', STREAM_CRYPTO_METHOD_TLS_CLIENT);
H A Dstreams_crypto_method.phpt41 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT,
H A Dbug74159.phpt21 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_2_SERVER,
/PHP-7.2/main/streams/
H A Dphp_stream_transport.h195 …port_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *s…
H A Dtransports.c353 …port_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *s… in php_stream_xport_crypto_setup() argument
360 param.inputs.method = crypto_method; in php_stream_xport_crypto_setup()
/PHP-7.2/ext/soap/
H A Dphp_http.c284 int crypto_method = STREAM_CRYPTO_METHOD_SSLv23_CLIENT; in http_connect() local
289 crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT; in http_connect()
293 crypto_method = STREAM_CRYPTO_METHOD_SSLv2_CLIENT; in http_connect()
297 crypto_method = STREAM_CRYPTO_METHOD_SSLv3_CLIENT; in http_connect()
301 crypto_method = STREAM_CRYPTO_METHOD_SSLv23_CLIENT; in http_connect()
305 crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT; in http_connect()
309 if (php_stream_xport_crypto_setup(stream, crypto_method, NULL) < 0 || in http_connect()
/PHP-7.2/ext/openssl/
H A Dxp_ssl.c2560 php_stream_context *ctx, zend_long crypto_method) /* {{{ */ in php_openssl_get_crypto_method() argument
2566 crypto_method = (zend_long)Z_LVAL_P(val); in php_openssl_get_crypto_method()
2567 crypto_method |= STREAM_CRYPTO_IS_CLIENT; in php_openssl_get_crypto_method()
2570 return crypto_method; in php_openssl_get_crypto_method()

Completed in 22 milliseconds