Ticket #10284: compat.patch
File compat.patch, 412 bytes (added by , 16 years ago) |
---|
-
compat.php
old new 67 67 68 68 if (strlen($key) > 64) 69 69 $key = pack($pack, $algo($key)); 70 elseif (strlen($key) < 64)70 if (strlen($key) < 64) 71 71 $key = str_pad($key, 64, chr(0)); 72 72 73 73 $ipad = (substr($key, 0, 64) ^ str_repeat(chr(0x36), 64));