mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-01-20 01: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);
|
||||
$response = curl_exec($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);
|
||||
debug($info);
|
||||
curl_close($ch);
|
||||
|
Loading…
x
Reference in New Issue
Block a user