diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2015-03-24 13:03:06 +0100 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2015-03-24 13:03:06 +0100 |
commit | 0698382cf55ad79d0d591fad9609c68eabfac2a2 (patch) | |
tree | 974113920d76cae4e3cb1e63e3098d6d490b86c3 | |
parent | dae8414275af38eded6a02e838e7964299a29a19 (diff) | |
download | pam-0698382cf55ad79d0d591fad9609c68eabfac2a2.tar.gz pam-0698382cf55ad79d0d591fad9609c68eabfac2a2.tar.bz2 pam-0698382cf55ad79d0d591fad9609c68eabfac2a2.zip |
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%
-rw-r--r-- | doc/man/pam_fail_delay.3.xml | 2 | ||||
-rw-r--r-- | 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 @@ <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 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) |