summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ssh-add.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 049a1d861..d5f57e37e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,12 @@
14 subprocesses it may have started (e.g. forked askpass). Fixes 14 subprocesses it may have started (e.g. forked askpass). Fixes
15 agent sockets being zapped when askpass processes fatal(); 15 agent sockets being zapped when askpass processes fatal();
16 bz#2236 patch from Dmitry V. Levin 16 bz#2236 patch from Dmitry V. Levin
17 - djm@cvs.openbsd.org 2014/07/03 03:15:01
18 [ssh-add.c]
19 make stdout line-buffered; saves partial output getting lost when
20 ssh-add fatal()s part-way through (e.g. when listing keys from an
21 agent that supports key types that ssh-add doesn't);
22 bz#2234, reported by Phil Pennock
17 23
1820140702 2420140702
19 - OpenBSD CVS Sync 25 - OpenBSD CVS Sync
diff --git a/ssh-add.c b/ssh-add.c
index 07558ae52..058894087 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-add.c,v 1.111 2014/06/27 18:50:39 markus Exp $ */ 1/* $OpenBSD: ssh-add.c,v 1.112 2014/07/03 03:15:01 djm 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
@@ -437,6 +437,8 @@ main(int argc, char **argv)
437 437
438 OpenSSL_add_all_algorithms(); 438 OpenSSL_add_all_algorithms();
439 439
440 setlinebuf(stdout);
441
440 /* At first, get a connection to the authentication agent. */ 442 /* At first, get a connection to the authentication agent. */
441 ac = ssh_get_authentication_connection(); 443 ac = ssh_get_authentication_connection();
442 if (ac == NULL) { 444 if (ac == NULL) {