1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-03-04 03:29:18 +01:00

Refactor.

- $urls is already checked prior to invoking function.
This commit is contained in:
Jean Paul Galea 2015-09-10 19:54:45 +02:00
parent 3f3ffaf493
commit 4a8eeacf7a

View File

@ -242,11 +242,6 @@ function retrieveURLasync($ident, $urls, $logger, $ans_req=1, $match="^OK", $ret
function KSMdecryptOTP($urls, $logger, $curlopts)
{
if (!is_array($urls))
{
$urls = array($urls);
}
$response = retrieveURLasync('YK-KSM', $urls, $logger, $ans_req=1, $match='^OK', $returl=False, $timeout=10, $curlopts);
if ($response === FALSE)