skip test with openssl < 1.1.0

The test fails, but without any crash
(this test is designed to catch a crash)
This commit is contained in:
Remi Collet 2021-02-25 13:52:35 +01:00
parent a480bf8093
commit ae0585c98e

View File

@ -3,7 +3,8 @@ Bug #80747: Providing RSA key size < 512 generates key that crash PHP
--FILE--
--SKIPIF--
<?php
if (!extension_loaded("openssl")) die("skip");
if (!extension_loaded("openssl")) die("skip openssl not loaded");
if (OPENSSL_VERSION_NUMBER < 0x10100000) die("skip OpenSSL >= v1.1.0 required");
?>
--FILE--
<?php