mirror of
https://github.com/php/php-src.git
synced 2025-01-08 20:17:28 +08:00
13 lines
269 B
PHP
13 lines
269 B
PHP
--TEST--
|
|
Bug #50052 (Different Hashes on Windows and Linux on wrong Salt size)
|
|
--FILE--
|
|
<?php
|
|
$salt = '$1$f+uslYF01$';
|
|
$password = 'test';
|
|
echo $salt . "\n";
|
|
echo crypt($password,$salt) . "\n";
|
|
?>
|
|
--EXPECT--
|
|
$1$f+uslYF01$
|
|
$1$f+uslYF0$orVloNmKSLvOeswusE0bY.
|