summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2015-03-24 13:03:06 +0100
committerThorsten Kukuk <kukuk@thkukuk.de>2015-03-24 13:03:06 +0100
commit0698382cf55ad79d0d591fad9609c68eabfac2a2 (patch)
tree974113920d76cae4e3cb1e63e3098d6d490b86c3
parentdae8414275af38eded6a02e838e7964299a29a19 (diff)
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.xml2
-rw-r--r--libpam/pam_delay.c2
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)