Commit d742e11
committed
Fix openssl_random_pseudo_bytes() always setting strong_result to true
This regressed in 62c7432, prior to that commit the value was set to
false in case random number generation failed, but now even if an
exception is thrown it is set to true. This likely does not _really_
matter as the user will handle the exception, still the value in
$strong_result is observable.1 parent c0b441f commit d742e11
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7960 | 7960 | | |
7961 | 7961 | | |
7962 | 7962 | | |
7963 | | - | |
7964 | | - | |
7965 | | - | |
7966 | | - | |
7967 | 7963 | | |
7968 | 7964 | | |
7969 | 7965 | | |
7970 | | - | |
7971 | 7966 | | |
7972 | | - | |
7973 | | - | |
| 7967 | + | |
| 7968 | + | |
| 7969 | + | |
| 7970 | + | |
| 7971 | + | |
7974 | 7972 | | |
7975 | 7973 | | |
7976 | 7974 | | |
0 commit comments