Remove silly code from openssl_pkey_free() test

W A T
This commit is contained in:
Nikita Popov 2021-05-29 15:48:58 +02:00
parent c8244dd989
commit 8c73dfe062

View File

@ -13,14 +13,6 @@ if (!@openssl_pkey_new())
<?php
echo "Creating private key\n";
/* stack up some entropy; performance is not critical,
* and being slow will most likely even help the test.
*/
for ($z = "", $i = 0; $i < 1024; $i++) {
$z .= $i * $i;
usleep($i);
}
$conf = array('config' => __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf');
$privkey = openssl_pkey_new($conf);