From 0698382cf55ad79d0d591fad9609c68eabfac2a2 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Tue, 24 Mar 2015 13:03:06 +0100 Subject: 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 a101cf39..392298a4 100644 --- a/doc/man/pam_fail_delay.3.xml +++ b/doc/man/pam_fail_delay.3.xml @@ -39,7 +39,7 @@ pam_authenticate3 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. diff --git a/libpam/pam_delay.c b/libpam/pam_delay.c index cb6c9d5c..972e72b6 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) -- cgit v1.2.3