[PATCH 1/1] Process the IdentityFile option from the included files

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



---
 readconf.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/readconf.c b/readconf.c
index 4be5327..066ab25 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1032,14 +1032,12 @@ parse_time:
 		arg = strdelim(&s);
 		if (!arg || *arg == '\0')
 			fatal("%.200s line %d: Missing argument.", filename, linenum);
-		if (*activep) {
-			intptr = &options->num_identity_files;
-			if (*intptr >= SSH_MAX_IDENTITY_FILES)
-				fatal("%.200s line %d: Too many identity files specified (max %d).",
-				    filename, linenum, SSH_MAX_IDENTITY_FILES);
-			add_identity_file(options, NULL,
-			    arg, flags & SSHCONF_USERCONF);
-		}
+		intptr = &options->num_identity_files;
+		if (*intptr >= SSH_MAX_IDENTITY_FILES)
+			fatal("%.200s line %d: Too many identity files specified (max %d).",
+				filename, linenum, SSH_MAX_IDENTITY_FILES);
+		add_identity_file(options, NULL,
+					arg, flags & SSHCONF_USERCONF);
 		break;
 
 	case oCertificateFile:
-- 
2.9.3

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux