mirror of
https://github.com/token2/libfido2.git
synced 2026-03-13 11:12:49 -07:00
u2f: pass timeout by reference
This commit is contained in:
committed by
pedro martelletto
parent
79842dfc05
commit
8ab64a3e1e
@@ -491,7 +491,7 @@ fido_dev_get_touch_status(fido_dev_t *dev, int *touched, int ms)
|
||||
*touched = 0;
|
||||
|
||||
if (fido_dev_is_fido2(dev) == false)
|
||||
return (u2f_get_touch_status(dev, touched, ms));
|
||||
return (u2f_get_touch_status(dev, touched, &ms));
|
||||
|
||||
switch ((r = fido_rx_cbor_status(dev, &ms))) {
|
||||
case FIDO_ERR_PIN_AUTH_INVALID:
|
||||
|
||||
Reference in New Issue
Block a user