summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-11-15 19:58:09 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-11-15 19:58:09 +0000
commit8976373b5268c34134baf8c8254d3e5068fac336 (patch)
treeb50a7719637e87b76ea687fb74fd311747ee58ed
parent5fbdba8425da6fb07a1efa75ca17091857be0b23 (diff)
just ignore non existing user keys
-rw-r--r--usr.bin/ssh/ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 6e2acda0ec4..2dc44baf131 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.72 2000/11/12 19:50:38 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.73 2000/11/15 19:58:08 markus Exp $");
#include <openssl/evp.h>
#include <openssl/dsa.h>
@@ -1020,7 +1020,7 @@ guess_identity_file_type(const char *filename)
int type = KEY_RSA1; /* default */
if (stat(filename, &st) < 0) {
- perror(filename);
+ /* ignore this key */
return KEY_UNSPEC;
}
public = key_new(type);