Fails on PHP 5.4 due to redeclaration of hex2bin.
dainnilsson opened this issue · 1 comments
dainnilsson commented
Since PHP 5.4 PHP provides its own hex2bin function, which causes the hex2bin declaration in ykksm-util.php to fail, causing the error below:
PHP Fatal error: Cannot redeclare hex2bin() in /usr/share/yubikey-ksm/ykksm-utils.php on line 39
We should rename our function so that it does not clash.
dainnilsson commented
Done. Renamed to yubi_hex2bin.