mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:18:26 +02:00
ead: allow a longer timeout in the client for the prime number calculation (useful for slow devices)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13907 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fb916ac1fa
commit
8ebc233140
@ -407,12 +407,11 @@ int main(int argc, char **argv)
|
|||||||
fprintf(stderr, "Device did not accept user name\n");
|
fprintf(stderr, "Device did not accept user name\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
timeout = EAD_TIMEOUT_LONG;
|
||||||
if (!get_prime()) {
|
if (!get_prime()) {
|
||||||
fprintf(stderr, "Failed to get user password info\n");
|
fprintf(stderr, "Failed to get user password info\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
timeout = EAD_TIMEOUT_LONG;
|
|
||||||
if (!send_a()) {
|
if (!send_a()) {
|
||||||
fprintf(stderr, "Failed to send local authentication data\n");
|
fprintf(stderr, "Failed to send local authentication data\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user