summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2020-03-06 19:28:27 +0100
committerDamien Miller <djm@mindrot.org>2020-03-13 03:18:31 +0100
commit8fae395f34c2c52cdaf9919aa261d1848b4bb00b (patch)
treeb2e7bf4bf7a243cb50b25db0ebcfd8b34ab77242
parentupstream: correct return code; ok djm (diff)
downloadopenssh-8fae395f34c2c52cdaf9919aa261d1848b4bb00b.tar.xz
openssh-8fae395f34c2c52cdaf9919aa261d1848b4bb00b.zip
upstream: initialize seconds for debug message; ok djm
OpenBSD-Commit-ID: 293fbefe6d00b4812a180ba02e26170e4c855b81
-rw-r--r--ssh-agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 9e8366a7c..e081413b8 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.256 2020/02/26 13:40:09 jsg Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.257 2020/03/06 18:28:27 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -428,7 +428,7 @@ process_add_identity(SocketEntry *e)
{
Identity *id;
int success = 0, confirm = 0;
- u_int seconds, maxsign;
+ u_int seconds = 0, maxsign;
char *fp, *comment = NULL, *ext_name = NULL, *sk_provider = NULL;
char canonical_provider[PATH_MAX];
time_t death = 0;