diff options
author | Anatol Belski <ab@php.net> | 2014-01-29 22:50:56 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-01-29 22:50:56 +0100 |
commit | c91ad8233b46e1605b225c782efc3131f158d9be (patch) | |
tree | 2edf1cb8c82e21331292b96bbb602de096d4cbe6 | |
parent | 79e0c273b8690bca12fc8b82cab3d7a47abb9779 (diff) | |
download | php-git-c91ad8233b46e1605b225c782efc3131f158d9be.tar.gz |
fix merge error after b4b4d9697fa43a526466165a3ca89d058296cb04
-rw-r--r-- | ext/openssl/xp_ssl.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index 61ba0271cb..cc8ea8a033 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -923,18 +923,6 @@ static int get_crypto_method(php_stream_context *ctx) { static char * get_url_name(const char *resourcename, size_t resourcenamelen, int is_persistent TSRMLS_DC) { php_url *url; - if (ctx) { - zval **val = NULL; - - if (php_stream_context_get_option(ctx, "ssl", "SNI_enabled", &val) == SUCCESS && !zend_is_true(*val TSRMLS_CC)) { - return NULL; - } - if (php_stream_context_get_option(ctx, "ssl", "SNI_server_name", &val) == SUCCESS) { - convert_to_string_ex(val); - return pestrdup(Z_STRVAL_PP(val), is_persistent); - } - } - if (!resourcename) { return NULL; } |