]> granicus.if.org Git - php/commitdiff
MFB: Add snefru256 as an alias for snefru, since in reality that is the implementation.
authorScott MacVicar <scottmac@php.net>
Tue, 3 Jun 2008 17:27:10 +0000 (17:27 +0000)
committerScott MacVicar <scottmac@php.net>
Tue, 3 Jun 2008 17:27:10 +0000 (17:27 +0000)
ext/hash/hash.c

index 2bde759071250a60b46c23e0ec589431fb6b6d7c..a24cacfc58db48581821543f5d0551960239ab3c 100644 (file)
@@ -761,6 +761,7 @@ PHP_MINIT_FUNCTION(hash)
        php_hash_register_algo("tiger160,4",    &php_hash_4tiger160_ops);
        php_hash_register_algo("tiger192,4",    &php_hash_4tiger192_ops);
        php_hash_register_algo("snefru",                &php_hash_snefru_ops);
+       php_hash_register_algo("snefru256",             &php_hash_snefru_ops);
        php_hash_register_algo("gost",                  &php_hash_gost_ops);
        php_hash_register_algo("adler32",               &php_hash_adler32_ops);
        php_hash_register_algo("crc32",                 &php_hash_crc32_ops);