diff options
-rw-r--r-- | paramiko/auth_handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/auth_handler.py b/paramiko/auth_handler.py index 7a09d8a2..d36e5de3 100644 --- a/paramiko/auth_handler.py +++ b/paramiko/auth_handler.py @@ -199,7 +199,7 @@ class AuthHandler (object): raise e if event.is_set(): break - elif max_ts is not None and max_ts >= time.time(): + if max_ts is not None and max_ts <= time.time(): raise AuthenticationException('Authentication timeout.') if not self.is_authenticated(): |