Fixed incorrect usage of openssl_random_pseudo_bytes in garbage.php

This commit is contained in:
dosse91 2016-12-29 07:49:46 +01:00
parent d9c320aee4
commit 858bfe61a1

View file

@ -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;