diff options
author | Leena Gunda <leena.gunda@wipro.com> | 2003-12-20 01:07:31 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2003-12-20 01:07:31 +0000 |
commit | b037c4725db1e66ca790400c9ef21e1eedbfbd39 (patch) | |
tree | fb774300ba4553e554d2882742ff6e5e8f1f9a8e | |
parent | 70d9142b52efe32925524ec6232cd8c8e962d12d (diff) | |
download | gdm-b037c4725db1e66ca790400c9ef21e1eedbfbd39.tar.gz |
pass the time in microseconds to pam_fail_delay(). Fixes bug #128507
Thu Dec 04 17:01:21 2003 Leena Gunda <leena.gunda@wipro.com>
* daemon/verify-pam.c:
pass the time in microseconds to pam_fail_delay().
Fixes bug #128507
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | daemon/verify-pam.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Thu Dec 04 17:01:21 2003 Leena Gunda <leena.gunda@wipro.com> + + * daemon/verify-pam.c: + pass the time in microseconds to pam_fail_delay(). + Fixes bug #128507 + Fri Dec 19 16:40:23 2003 George Lebl <jirka@5z.com> * daemon/gdm.c: move the setegid to before the seteuid to fix an diff --git a/daemon/verify-pam.c b/daemon/verify-pam.c index e2323874..ae272a1c 100644 --- a/daemon/verify-pam.c +++ b/daemon/verify-pam.c @@ -505,7 +505,7 @@ authenticate_again: pam_set_item (pamh, PAM_USER_PROMPT, _("Username:")); #ifdef PAM_FAIL_DELAY - pam_fail_delay (pamh, GdmRetryDelay * 1000); + pam_fail_delay (pamh, GdmRetryDelay * 1000000); #endif /* PAM_FAIL_DELAY */ did_we_ask_for_password = FALSE; |