diff options
Diffstat (limited to 'ext/openssl/tests/bug25614.phpt')
-rw-r--r-- | ext/openssl/tests/bug25614.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/openssl/tests/bug25614.phpt b/ext/openssl/tests/bug25614.phpt index a43130708b..6adc0f39c1 100644 --- a/ext/openssl/tests/bug25614.phpt +++ b/ext/openssl/tests/bug25614.phpt @@ -1,12 +1,12 @@ --TEST-- openssl: get public key from generated private key --SKIPIF-- -<?php -if (!extension_loaded("openssl")) die("skip"); -if (!@openssl_pkey_new()) die("skip cannot create private key"); +<?php +if (!extension_loaded("openssl")) die("skip"); +if (!@openssl_pkey_new()) die("skip cannot create private key"); ?> --FILE-- -<?php +<?php $priv = openssl_pkey_new(); $pub = openssl_pkey_get_public($priv); ?> |