Ticket #10727: 10727.patch
File 10727.patch, 463 bytes (added by , 15 years ago) |
---|
-
wp-includes/class-phpass.php
56 56 function get_random_bytes($count) 57 57 { 58 58 $output = ''; 59 if ( ($fh = @fopen('/dev/urandom', 'rb'))) {59 if (is_readable('/dev/urandom') && ($fh = @fopen('/dev/urandom', 'rb'))) { 60 60 $output = fread($fh, $count); 61 61 fclose($fh); 62 62 }