diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.372 2013/02/22 04:45:09 dtucker Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.373 2013/02/22 22:09:01 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1536,7 +1536,8 @@ load_public_identity_files(void) | |||
1536 | fatal("load_public_identity_files: gethostname: %s", | 1536 | fatal("load_public_identity_files: gethostname: %s", |
1537 | strerror(errno)); | 1537 | strerror(errno)); |
1538 | for (i = 0; i < options.num_identity_files; i++) { | 1538 | for (i = 0; i < options.num_identity_files; i++) { |
1539 | if (n_ids >= SSH_MAX_IDENTITY_FILES) { | 1539 | if (n_ids >= SSH_MAX_IDENTITY_FILES || |
1540 | strcasecmp(options.identity_files[i], "none") == 0) { | ||
1540 | xfree(options.identity_files[i]); | 1541 | xfree(options.identity_files[i]); |
1541 | continue; | 1542 | continue; |
1542 | } | 1543 | } |