mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-01-20 10:52:15 +01:00
Curl errno/error is order dependent?!
This commit is contained in:
parent
49c122436c
commit
136a6c9c98
@ -108,7 +108,8 @@ function decryptOTP($otp, $base_url) {
|
|||||||
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
|
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
|
||||||
$response = curl_exec($ch);
|
$response = curl_exec($ch);
|
||||||
$error = curl_error ($ch);
|
$error = curl_error ($ch);
|
||||||
debug("YK-KSM response: $response error: " . $error);
|
$errno = curl_errno ($ch);
|
||||||
|
debug("YK-KSM response: $response errno: " . $errno . " error: " . $error);
|
||||||
$info = curl_getinfo ($ch);
|
$info = curl_getinfo ($ch);
|
||||||
debug($info);
|
debug($info);
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user