diff options
author | djm <djm> | 2010-08-03 06:03:29 +0000 |
---|---|---|
committer | djm <djm> | 2010-08-03 06:03:29 +0000 |
commit | 2a300227dbaf65db6d6027c790d0c34d450f13db (patch) | |
tree | 449c2112dc6f55157fe273a0a049c7369380bb22 | |
parent | 2adfed3e95f684e3cab1e490c16ef463c6b79c05 (diff) | |
download | openssh-2a300227dbaf65db6d6027c790d0c34d450f13db.tar.gz |
- OpenBSD CVS Sync
- djm@cvs.openbsd.org 2010/07/16 04:45:30
[ssh-keygen.c]
avoid bogus compiler warning
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ssh-keygen.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -2,6 +2,10 @@ - (dtucker) [monitor.c] Bug #1795: Initialize the values to be returned from PAM to sane values in case the PAM method doesn't write to them. Spotted by Bitman Zhou, ok djm@. + - OpenBSD CVS Sync + - djm@cvs.openbsd.org 2010/07/16 04:45:30 + [ssh-keygen.c] + avoid bogus compiler warning 20100819 - (dtucker) [contrib/ssh-copy-ud.1] Bug #1786: update ssh-copy-id.1 with more diff --git a/ssh-keygen.c b/ssh-keygen.c index 48209380..56bfee20 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.194 2010/06/30 07:26:03 jmc Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.195 2010/07/16 04:45:30 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -580,7 +580,7 @@ static void do_convert_from(struct passwd *pw) { Key *k = NULL; - int private = 0, ok; + int private = 0, ok = 0; struct stat st; if (!have_identity) |