From 847b1c85a84506cf04b0e6f18df1784a53a561bb Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 26 Sep 2000 10:06:05 +0000 Subject: [PATCH] The "Authenticated using key from agent" message is a verbose-only one git-svn-id: http://svn.tartarus.org/sgt/putty@631 cda61777-01e9-0310-a592-d414129be87e --- ssh.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ssh.c b/ssh.c index 4068aa72..852a2dad 100644 --- a/ssh.c +++ b/ssh.c @@ -1358,10 +1358,12 @@ static int do_ssh1_login(unsigned char *in, int inlen, int ispkt) crWaitUntil(ispkt); if (pktin.type == SSH1_SMSG_SUCCESS) { logevent("Pageant's response accepted"); - c_write("Authenticated using RSA key \"", - 29); - c_write(commentp, commentlen); - c_write("\" from agent\r\n", 14); + if (flags & FLAG_VERBOSE) { + c_write("Authenticated using RSA key \"", + 29); + c_write(commentp, commentlen); + c_write("\" from agent\r\n", 14); + } authed = TRUE; } else logevent("Pageant's response not accepted"); -- 2.45.2