aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2021-01-28 19:02:21 +0100
committerJakub Jelen <jjelen@redhat.com>2021-08-17 15:46:53 +0200
commit81b17de7f79fd5ac3ac8f1d99bcb9d8d3b8377ea (patch)
tree685cb2871bf83cac275d4b0474df8d9677665667
parenta2a79ec68a7795d884ab61d836d7e8ed9ecc2adc (diff)
downloadlibssh-81b17de7f79fd5ac3ac8f1d99bcb9d8d3b8377ea.tar.gz
libssh-81b17de7f79fd5ac3ac8f1d99bcb9d8d3b8377ea.tar.xz
libssh-81b17de7f79fd5ac3ac8f1d99bcb9d8d3b8377ea.zip
config: Support more identity files in configuration
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit a9061ab434c5789c7e369b8819625ae38ed62005)
-rw-r--r--src/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index a08e41b8..54ada276 100644
--- a/src/config.c
+++ b/src/config.c
@@ -425,6 +425,7 @@ ssh_config_parse_line(ssh_session session,
opcode != SOC_HOST &&
opcode != SOC_MATCH &&
opcode != SOC_INCLUDE &&
+ opcode != SOC_IDENTITY &&
opcode > SOC_UNSUPPORTED) { /* Ignore all unknown types here */
/* Skip all the options that were already applied */
if (seen[opcode] != 0) {