Skip to content

Commit 8c73dfe

Browse files
committed
Remove silly code from openssl_pkey_free() test
W A T
1 parent c8244dd commit 8c73dfe

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ext/openssl/tests/openssl_free_key.phpt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ if (!@openssl_pkey_new())
1313
<?php
1414
echo "Creating private key\n";
1515

16-
/* stack up some entropy; performance is not critical,
17-
* and being slow will most likely even help the test.
18-
*/
19-
for ($z = "", $i = 0; $i < 1024; $i++) {
20-
$z .= $i * $i;
21-
usleep($i);
22-
}
23-
2416
$conf = array('config' => __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf');
2517
$privkey = openssl_pkey_new($conf);
2618

0 commit comments

Comments
 (0)