com php-src: fix version check at right place: ext/standard/tes ts/streams/stream_socket_enable_crypto-win32.phpt

[email protected] (Anatol Belski)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    81b2d983556c7b19d00219fe24b5b4d01dde4e1a
Author:    Anatol Belski <[email protected]>         Wed, 22 Mar 2017 17:44:47 +0100
Parents:   9ecd344cd4af91782de797fc215d9cffe671a39b
Branches:  master

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

Log:
fix version check at right place

Changed paths:
  M  ext/standard/tests/streams/stream_socket_enable_crypto-win32.phpt


Diff:
diff --git a/ext/standard/tests/streams/stream_socket_enable_crypto-win32.phpt b/ext/standard/tests/streams/stream_socket_enable_crypto-win32.phpt
index 994b3f6..1ae61b5 100644
--- a/ext/standard/tests/streams/stream_socket_enable_crypto-win32.phpt
+++ b/ext/standard/tests/streams/stream_socket_enable_crypto-win32.phpt
@@ -10,7 +10,7 @@ if (!extension_loaded('openssl')) {
 if (substr(PHP_OS, 0, 3) != 'WIN' ) {
 	die('skip windows only test');
 }
-if (OPENSSL_VERSION_NUMBER < 0x10001001) die("skip OpenSSLv1.0.1 required");
+if (OPENSSL_VERSION_NUMBER < 0x10100000) die("skip OpenSSLv1.1.0 required");
 ?>
 --FILE--
 <?php
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.