com php-src: Skip bug74159 test for OpenSSL lower than 1.0.1: ext/openssl/tests/bug74159.phpt

[email protected] (Jakub Zelenka)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    ba70478a215268f89f07c6a033c092e882c3d875
Author:    Jakub Zelenka <[email protected]>         Mon, 13 Mar 2017 21:05:09 +0000
Parents:   8e5d080d54766ea5dd8c1bd8ac6c1f7dcd6524c6
Branches:  PHP-7.0

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

Log:
Skip bug74159 test for OpenSSL lower than 1.0.1

Bugs:
https://bugs.php.net/74159

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


Diff:
diff --git a/ext/openssl/tests/bug74159.phpt b/ext/openssl/tests/bug74159.phpt
index aa51a46..c031ea2 100644
--- a/ext/openssl/tests/bug74159.phpt
+++ b/ext/openssl/tests/bug74159.phpt
@@ -4,6 +4,7 @@ Bug #74159: Writing a large buffer to non-blocking encrypted streams fails
 <?php
 if (!extension_loaded("openssl")) die("skip openssl not loaded");
 if (!function_exists("proc_open")) die("skip no proc_open");
+if (OPENSSL_VERSION_NUMBER < 0x10001001) die("skip OpenSSLv1.0.1 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.