[openssh-commits] [openssh] 03/03: upstream: Fix debug logging of user specific delay. Patch from
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Feb 6 09:41:27 AEDT 2025
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 85b3d68dd931416ede657f371f1d60cdc3a66f34
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Fri Jan 17 00:09:41 2025 +0000
upstream: Fix debug logging of user specific delay. Patch from
Achim Leitner (fjl5) via github PR#552.
OpenBSD-Commit-ID: 834a869ed9b15058d3c1ef0cd75402ef989255d8
---
auth2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/auth2.c b/auth2.c
index 67dec88c..82f6e621 100644
--- a/auth2.c
+++ b/auth2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth2.c,v 1.169 2024/05/17 00:30:23 djm Exp $ */
+/* $OpenBSD: auth2.c,v 1.170 2025/01/17 00:09:41 dtucker Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -238,7 +238,7 @@ user_specific_delay(const char *user)
/* 0-4.2 ms of delay */
delay = (double)PEEK_U32(hash) / 1000 / 1000 / 1000 / 1000;
freezero(hash, len);
- debug3_f("user specific delay %0.3lfms", delay/1000);
+ debug3_f("user specific delay %0.3lfms", delay*1000);
return MIN_FAIL_DELAY_SECONDS + delay;
}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list