diff options
| author | kka | 2018-03-19 16:58:19 +0100 |
|---|---|---|
| committer | kka | 2018-03-19 16:58:19 +0100 |
| commit | c97f0f6bc908c3241a117ee00d574fa23821743c (patch) | |
| tree | 6da5cfd55c88fe4449b8759b7a57e5e25edc464d | |
| parent | d79a127a85a1686b50fa387c9843e82ec0e43881 (diff) | |
Increase random number max for test
| -rw-r--r-- | src/tests/harden_rand.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/harden_rand.phpt b/src/tests/harden_rand.phpt index b5ee567..336f5a7 100644 --- a/src/tests/harden_rand.phpt +++ b/src/tests/harden_rand.phpt | |||
| @@ -7,11 +7,11 @@ sp.configuration_file={PWD}/config/harden_rand.ini | |||
| 7 | --FILE-- | 7 | --FILE-- |
| 8 | <?php | 8 | <?php |
| 9 | srand(0); | 9 | srand(0); |
| 10 | $a = rand(0,100)."\n"; | 10 | $a = rand(0,1000)."\n"; |
| 11 | $b = rand(0,100)."\n"; | 11 | $b = rand(0,1000)."\n"; |
| 12 | srand(0); | 12 | srand(0); |
| 13 | $c = rand(0,100)."\n"; | 13 | $c = rand(0,1000)."\n"; |
| 14 | $d = rand(0,100)."\n"; | 14 | $d = rand(0,1000)."\n"; |
| 15 | 15 | ||
| 16 | rand(100,0)."\n"; | 16 | rand(100,0)."\n"; |
| 17 | 17 | ||
