summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/session.c b/session.c
index 890e16d59..826307ef1 100644
--- a/session.c
+++ b/session.c
@@ -33,7 +33,7 @@
33 */ 33 */
34 34
35#include "includes.h" 35#include "includes.h"
36RCSID("$OpenBSD: session.c,v 1.43 2000/11/06 23:04:56 markus Exp $"); 36RCSID("$OpenBSD: session.c,v 1.44 2000/11/14 23:44:19 markus Exp $");
37 37
38#include "xmalloc.h" 38#include "xmalloc.h"
39#include "ssh.h" 39#include "ssh.h"
@@ -1745,6 +1745,10 @@ session_auth_agent_req(Session *s)
1745{ 1745{
1746 static int called = 0; 1746 static int called = 0;
1747 packet_done(); 1747 packet_done();
1748 if (no_agent_forwarding_flag) {
1749 debug("session_auth_agent_req: no_agent_forwarding_flag");
1750 return 0;
1751 }
1748 if (called) { 1752 if (called) {
1749 return 0; 1753 return 0;
1750 } else { 1754 } else {