diff options
-rw-r--r-- | ssh-keygen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index 624cdebdb..ac20723b8 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.257 2015/01/18 21:51:19 djm Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.258 2015/01/19 00:32:54 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1133,7 +1133,7 @@ known_hosts_find_delete(struct hostkey_foreach_line *l, void *_ctx) | |||
1133 | static void | 1133 | static void |
1134 | do_known_hosts(struct passwd *pw, const char *name) | 1134 | do_known_hosts(struct passwd *pw, const char *name) |
1135 | { | 1135 | { |
1136 | char *cp, tmp[MAXPATHLEN], old[MAXPATHLEN]; | 1136 | char *cp, tmp[PATH_MAX], old[PATH_MAX]; |
1137 | int r, fd, oerrno, inplace = 0; | 1137 | int r, fd, oerrno, inplace = 0; |
1138 | struct known_hosts_ctx ctx; | 1138 | struct known_hosts_ctx ctx; |
1139 | 1139 | ||