From: naddy@openbsd.org Date: Thu, 26 Mar 2015 12:32:38 +0000 (+0000) Subject: upstream commit X-Git-Tag: V_6_9_P1~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b0ef3813244c78669e6d4d54c624f600945327d;p=thirdparty%2Fopenssh-portable.git upstream commit don't try to load .ssh/identity by default if SSH1 is disabled; ok markus@ --- diff --git a/ssh-add.c b/ssh-add.c index 37e4cc580..9c8da5437 100644 --- a/ssh-add.c +++ b/ssh-add.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-add.c,v 1.121 2015/03/25 19:29:58 markus Exp $ */ +/* $OpenBSD: ssh-add.c,v 1.122 2015/03/26 12:32:38 naddy Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -79,7 +79,9 @@ static char *default_files[] = { #endif #endif /* WITH_OPENSSL */ _PATH_SSH_CLIENT_ID_ED25519, +#ifdef WITH_SSH1 _PATH_SSH_CLIENT_IDENTITY, +#endif NULL };