diff options
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r-- | ssh-keygen.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c index dfa1166c2..f43b12493 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-keygen.c,v 1.156 2006/11/14 19:41:04 deraadt Exp $ */ | 1 | /* $OpenBSD: ssh-keygen.c,v 1.157 2007/01/03 00:53:38 stevesk 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 |
@@ -346,9 +346,8 @@ get_line(FILE *fp, char *line, size_t len) | |||
346 | line[pos++] = c; | 346 | line[pos++] = c; |
347 | line[pos] = '\0'; | 347 | line[pos] = '\0'; |
348 | } | 348 | } |
349 | if (c == EOF) | 349 | /* We reached EOF */ |
350 | return -1; | 350 | return -1; |
351 | return pos; | ||
352 | } | 351 | } |
353 | 352 | ||
354 | static void | 353 | static void |