Skip to content
Snippets Groups Projects
Commit 858bfe61 authored by dosse91's avatar dosse91
Browse files

Fixed incorrect usage of openssl_random_pseudo_bytes in garbage.php

parent d9c320ae
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
// Generate data
$data=openssl_random_pseudo_bytes(1048576,false);
$data=openssl_random_pseudo_bytes(1048576);
// Deliver chunks of 1048576 bytes
while(1){
echo $data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment