diff options
Diffstat (limited to 'ext/openssl/tests/openssl_x509_parse_basic.phpt')
| -rw-r--r-- | ext/openssl/tests/openssl_x509_parse_basic.phpt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/openssl/tests/openssl_x509_parse_basic.phpt b/ext/openssl/tests/openssl_x509_parse_basic.phpt index e0f1dbb968..fb0bbc7604 100644 --- a/ext/openssl/tests/openssl_x509_parse_basic.phpt +++ b/ext/openssl/tests/openssl_x509_parse_basic.phpt @@ -1,7 +1,9 @@ --TEST-- openssl_x509_parse() basic test --SKIPIF-- -<?php if (!extension_loaded("openssl")) print "skip"; ?> +<?php if (!extension_loaded("openssl")) print "skip"; +if (OPENSSL_VERSION_NUMBER < 0x10000000) die("skip Output requires OpenSSL 1.0"); +?> --FILE-- <?php $cert = "file://" . dirname(__FILE__) . "/cert.crt"; |
