aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2021-01-28 19:02:21 +0100
committerJakub Jelen <jjelen@redhat.com>2021-01-28 19:11:58 +0100
commita9061ab434c5789c7e369b8819625ae38ed62005 (patch)
tree89fc7972e5b8d4c6940bb597326af666112e8eaf /src
parentae809b3cbbfde6010cb6cb5e84660af128a8b16a (diff)
downloadlibssh-a9061ab434c5789c7e369b8819625ae38ed62005.tar.gz
libssh-a9061ab434c5789c7e369b8819625ae38ed62005.tar.xz
libssh-a9061ab434c5789c7e369b8819625ae38ed62005.zip
config: Support more identity files in configuration
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r--src/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 198a4726..599d6f80 100644
--- a/src/config.c
+++ b/src/config.c
@@ -555,6 +555,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) {