]> granicus.if.org Git - linux-pam/commitdiff
Adjust documentation (Ticket#36)
authorThorsten Kukuk <kukuk@thkukuk.de>
Tue, 24 Mar 2015 12:03:06 +0000 (13:03 +0100)
committerThorsten Kukuk <kukuk@thkukuk.de>
Tue, 24 Mar 2015 12:03:06 +0000 (13:03 +0100)
* 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
libpam/pam_delay.c

index a101cf393f0f9a80d9fbf2c74c6577f83849a87d..392298a483fdc2fac233adcedd2f7455048106bd 100644 (file)
@@ -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>
index cb6c9d5ccc9b00e3d521b7f4b43d506883b73dfb..972e72b6bfefe604afb5ae735ab023c9a8ed50ab 100644 (file)
@@ -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)