Lines Matching refs:method_flags
995 static int php_openssl_get_crypto_method_ctx_flags(int method_flags) /* {{{ */ in php_openssl_get_crypto_method_ctx_flags() argument
1003 if (!(method_flags & STREAM_CRYPTO_METHOD_SSLv3)) { in php_openssl_get_crypto_method_ctx_flags()
1008 if (!(method_flags & STREAM_CRYPTO_METHOD_TLSv1_0)) { in php_openssl_get_crypto_method_ctx_flags()
1013 if (!(method_flags & STREAM_CRYPTO_METHOD_TLSv1_1)) { in php_openssl_get_crypto_method_ctx_flags()
1018 if (!(method_flags & STREAM_CRYPTO_METHOD_TLSv1_2)) { in php_openssl_get_crypto_method_ctx_flags()
1023 if (!(method_flags & STREAM_CRYPTO_METHOD_TLSv1_3)) { in php_openssl_get_crypto_method_ctx_flags()
1663 int method_flags; in php_openssl_setup_crypto() local
1684 method_flags = cparam->inputs.method & ~STREAM_CRYPTO_IS_CLIENT; in php_openssl_setup_crypto()
1696 method_flags = php_openssl_get_proto_version_flags(method_flags, min_version, max_version); in php_openssl_setup_crypto()
1698 ssl_ctx_options = php_openssl_get_crypto_method_ctx_flags(method_flags); in php_openssl_setup_crypto()
1788 SSL_CTX_set_min_proto_version(sslsock->ctx, php_openssl_get_min_proto_version(method_flags)); in php_openssl_setup_crypto()
1789 SSL_CTX_set_max_proto_version(sslsock->ctx, php_openssl_get_max_proto_version(method_flags)); in php_openssl_setup_crypto()