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:    a7f2dbf831c348fb208e0d83f7c5efc7f144ea19
Author:    Anatol Belski <[email protected]>         Thu, 23 Mar 2017 03:09:30 +0100
Parents:   0d834c6922413ff0e70e77863414c0accdaf0b78
Branches:  master

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

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.