Commit ac3d3aa5 authored by Dries's avatar Dries
Browse files

- Patch #723802 by pwolanin, scor: fixed documentation.

parent 388af20e
...@@ -1715,7 +1715,7 @@ function drupal_random_bytes($count) { ...@@ -1715,7 +1715,7 @@ function drupal_random_bytes($count) {
if (!isset($random_state)) { if (!isset($random_state)) {
$random_state = print_r($_SERVER, TRUE); $random_state = print_r($_SERVER, TRUE);
if (function_exists('getmypid')) { if (function_exists('getmypid')) {
// further initialize with the somewhat random PHP process ID. // Further initialize with the somewhat random PHP process ID.
$random_state .= getmypid(); $random_state .= getmypid();
} }
$bytes = ''; $bytes = '';
......
...@@ -148,7 +148,7 @@ function _password_crypt($algo, $password, $setting) { ...@@ -148,7 +148,7 @@ function _password_crypt($algo, $password, $setting) {
return FALSE; return FALSE;
} }
// Convert the base 2 logrithm into an integer. // Convert the base 2 logarithm into an integer.
$count = 1 << $count_log2; $count = 1 << $count_log2;
// We rely on the hash() function being available in PHP 5.2+. // We rely on the hash() function being available in PHP 5.2+.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment