commit 0698382cf55ad79d0d591fad9609c68eabfac2a2 Author: Thorsten Kukuk kukuk@thkukuk.de Date: Tue Mar 24 13:03:06 2015 +0100
Adjust documentation (Ticket#36)
* libpam/pam_delay.c: Change 25% in comment to 50% as used in code. * doc/man/pam_fail_delay.3.xml: Change 25% to 50%
doc/man/pam_fail_delay.3.xml | 2 +- libpam/pam_delay.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- diff --git a/doc/man/pam_fail_delay.3.xml b/doc/man/pam_fail_delay.3.xml index a101cf3..392298a 100644 --- a/doc/man/pam_fail_delay.3.xml +++ b/doc/man/pam_fail_delay.3.xml @@ -39,7 +39,7 @@ <citerefentry> <refentrytitle>pam_authenticate</refentrytitle><manvolnum>3</manvolnum> </citerefentry> fail, the failing return to the application is - delayed by an amount of time randomly distributed (by up to 25%) + delayed by an amount of time randomly distributed (by up to 50%) about this longest value. </para> <para> diff --git a/libpam/pam_delay.c b/libpam/pam_delay.c index cb6c9d5..972e72b 100644 --- a/libpam/pam_delay.c +++ b/libpam/pam_delay.c @@ -81,7 +81,7 @@ static unsigned int _pam_compute_delay(unsigned int seed, unsigned int base) /* ********************************************************************** * the following function sleeps for a random time. The actual time * slept is computed above.. It is based on the requested time but will - * differ by up to +/- 25%. + * differ by up to +/- 50%. */
void _pam_await_timer(pam_handle_t *pamh, int status)