summaryrefslogtreecommitdiff
path: root/auth-rhosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-rhosts.c')
-rw-r--r--auth-rhosts.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/auth-rhosts.c b/auth-rhosts.c
index 5c1296701..06ae7f0b9 100644
--- a/auth-rhosts.c
+++ b/auth-rhosts.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth-rhosts.c,v 1.43 2008/06/13 14:18:51 dtucker Exp $ */ 1/* $OpenBSD: auth-rhosts.c,v 1.44 2010/03/07 11:57:13 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -317,11 +317,5 @@ int
317auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname, 317auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname,
318 const char *ipaddr) 318 const char *ipaddr)
319{ 319{
320 int ret; 320 return auth_rhosts2_raw(pw, client_user, hostname, ipaddr);
321
322 auth_debug_reset();
323 ret = auth_rhosts2_raw(pw, client_user, hostname, ipaddr);
324 if (!use_privsep)
325 auth_debug_send();
326 return ret;
327} 321}