From b79ac14b0ff59d288833313f3d29c0ba79cf11da Mon Sep 17 00:00:00 2001 From: Johannes Hostert Date: Wed, 8 Nov 2023 00:41:21 +0100 Subject: [PATCH] Reduce minimum timeout to 1 second --- data/pam_fprintd.pod | 2 +- pam/pam_fprintd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/pam_fprintd.pod b/data/pam_fprintd.pod index 69b1a73..9e92145 100644 --- a/data/pam_fprintd.pod +++ b/data/pam_fprintd.pod @@ -30,7 +30,7 @@ authentication failure. The minimum number of tries is 1 while the default is 3. =item B> The amount of time before returning an authentication failure. The default timeout -is 30 seconds, with 10 seconds being the minimum. +is 30 seconds, with 1 second being the minimum. =back diff --git a/pam/pam_fprintd.c b/pam/pam_fprintd.c index 93cade9..0b84a14 100644 --- a/pam/pam_fprintd.c +++ b/pam/pam_fprintd.c @@ -75,7 +75,7 @@ #define DEFAULT_MAX_TRIES 3 #define DEFAULT_TIMEOUT 30 -#define MIN_TIMEOUT 10 +#define MIN_TIMEOUT 1 #define DEBUG_MATCH "debug=" #define MAX_TRIES_MATCH "max-tries="