diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-11-28 14:13:44 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-11-28 14:13:44 +0000 |
commit | 398ff4fe82885b79bcaa789f7b56e8f8ec357b24 (patch) | |
tree | 1e747157006be2159af202ccaa677b6f2df96c83 | |
parent | 966f75d4fbb7f395c60ffb3cd5c7948391628ade (diff) | |
download | php-git-398ff4fe82885b79bcaa789f7b56e8f8ec357b24.tar.gz |
Fixed mhash tests, apparently the TIGER algorithm was updated (fixed?) in
later mhash releases and consequently returns a different hash. I've updated
the hash to the one generated by latter releases.
Removed useless \r from ext/mhash/tests/003.phpt.
-rw-r--r-- | ext/mhash/tests/001.phpt | 3 | ||||
-rw-r--r-- | ext/mhash/tests/003.phpt | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/mhash/tests/001.phpt b/ext/mhash/tests/001.phpt index cbedd1815b..13c16a2263 100644 --- a/ext/mhash/tests/001.phpt +++ b/ext/mhash/tests/001.phpt @@ -18,7 +18,8 @@ $supported_hash_al = array( "MHASH_HAVAL160" => "ƳouWi\"q{", "MHASH_RIPEMD160" => "lGCZYķƯF4\x0C>XX=", "MHASH_GOST" => "\x0A%Rν|QGUC)5,-", -"MHASH_TIGER" => ":y\x01둮 ~g9\\T0\x0D", +"MHASH_TIGER" => "y:g~ +0T\9", "MHASH_CRC32" => "", "MHASH_CRC32B" => "Z" ); diff --git a/ext/mhash/tests/003.phpt b/ext/mhash/tests/003.phpt index 4656eb89b1..e5995f2a02 100644 --- a/ext/mhash/tests/003.phpt +++ b/ext/mhash/tests/003.phpt @@ -17,7 +17,7 @@ $supported_hash_al = array( "MHASH_HAVAL160" => "\x07dn6GXm\x06\x1E\x00η#5M\"mi\x1D1\$\x0E|X<O)Y;=ʰy.`\"`\x02ٴB ԯҵk>G\x19\x17~\x0D~", "MHASH_RIPEMD160" => "Fx\x0D5\x02\x0a\x1D[\x19gDXgwܡD&bjB7]G[\x14G`^\x1B\x08K\x11\x173C-AB%\x04K\x03??K", "MHASH_GOST" => "Di~C=wƂ\x17B\x15}sM\x01d|\x014hY\"\x0AI*b@фxc@sިyN%d\x09FD\x0a\x12\x12P\x0F}E~:pO\x0DpwR{\x19M", -"MHASH_TIGER" => "!p+##f6y!p+##f6y!p+##f6y!p+##f6y!", +"MHASH_TIGER" => "g{\nG&/3d#7`2UBQ/y)X#k'hn/Ep*M1 VKyO` M6|\"", "MHASH_CRC32" => "H@&_YoQ1[Fq\"\x08fV8\x08EE<M:Ⱥrk*Hu/}h3iWJ?vu i=W\"", "MHASH_CRC32B" => "le>}*]Fכ6\x13bCˏ. I\x0FjΥ0\x0D\x1F<.Qy疾tixb\$}\x0Bȴ ϬȌDDK\x131uL6`ɏ|Ec\x04", |