Commit 0dc600c
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 74720a2 commit 0dc600c
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7961 | 7961 | | |
7962 | 7962 | | |
7963 | 7963 | | |
7964 | | - | |
7965 | | - | |
7966 | | - | |
7967 | | - | |
7968 | 7964 | | |
7969 | 7965 | | |
7970 | 7966 | | |
7971 | | - | |
7972 | 7967 | | |
7973 | | - | |
7974 | | - | |
| 7968 | + | |
| 7969 | + | |
| 7970 | + | |
| 7971 | + | |
| 7972 | + | |
7975 | 7973 | | |
7976 | 7974 | | |
7977 | 7975 | | |
0 commit comments