com php-src: skip the test on OpenSSL < 1.1 for now: ext/openssl/tests/sni_server.phpt

[email protected] (Anatol Belski)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    ca51b12d3aa52c334587f6fb8e280026eb3f1335
Author:    Anatol Belski <[email protected]>         Thu, 23 Mar 2017 03:09:30 +0100
Parents:   36f14d1265f71eadf0507673f9c5fb29a71873bc
Branches:  PHP-7.0.19

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=ca51b12d3aa52c334587f6fb8e280026eb3f1335

Log:
skip the test on OpenSSL < 1.1 for now

(cherry picked from commit 8cfaea656c9ce1edf9eb29d796ee6d9482a6d98a)

Changed paths:
  M  ext/openssl/tests/sni_server.phpt


Diff:
diff --git a/ext/openssl/tests/sni_server.phpt b/ext/openssl/tests/sni_server.phpt
index d44a69f..344870f 100644
--- a/ext/openssl/tests/sni_server.phpt
+++ b/ext/openssl/tests/sni_server.phpt
@@ -3,6 +3,7 @@ sni_server
 --SKIPIF--
 <?php
 if (!extension_loaded("openssl")) die("skip openssl not loaded");
+if (OPENSSL_VERSION_NUMBER >= 0x10100000) die("skip OpenSSL < v1.1.0 required");
 --FILE--
 <?php
 $serverCode = <<<'CODE'
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.