Skip to content

Commit

Permalink
Proposed fix for #111 - mcrypt_create_iv() reportedly not broken by o…
Browse files Browse the repository at this point in the history
…pen_basedir
  • Loading branch information
paragonie-security committed Nov 7, 2016
1 parent 79122b8 commit 67f5061
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/random.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@
PHP_VERSION_ID >= 50307
&&
extension_loaded('mcrypt')
&&
(DIRECTORY_SEPARATOR !== '/' || $RandomCompatUrandom)
) {
// Prevent this code from hanging indefinitely on non-Windows;
// see https://bugs.php.net/bug.php?id=69833
Expand Down

0 comments on commit 67f5061

Please sign in to comment.