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:
parent
3f3ffaf493
commit
4a8eeacf7a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user