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

[email protected] (Remi Collet)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    8cfaea656c9ce1edf9eb29d796ee6d9482a6d98a
Author:    Anatol Belski <[email protected]>         Thu, 23 Mar 2017 03:09:30 +0100
Committer: Remi Collet <[email protected]>      Wed, 26 Apr 2017 14:39:03 +0200
Parents:   53a702c0206b58454b24a5a9d361a7526bcf0217
Branches:  PHP-7.0 PHP-7.1 master

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

Log:
skip the test on OpenSSL < 1.1 for now

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.