diff options
Diffstat (limited to 'src/swanctl/commands/load_creds.c')
-rw-r--r-- | src/swanctl/commands/load_creds.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/swanctl/commands/load_creds.c b/src/swanctl/commands/load_creds.c index 126b61e64..836017893 100644 --- a/src/swanctl/commands/load_creds.c +++ b/src/swanctl/commands/load_creds.c @@ -583,6 +583,7 @@ static bool load_secret(load_ctx_t *ctx, char *section) char *types[] = { "eap", "xauth", + "ntlm", "ike", "private", "rsa", @@ -605,7 +606,8 @@ static bool load_secret(load_ctx_t *ctx, char *section) fprintf(stderr, "ignoring unsupported secret '%s'\n", section); return FALSE; } - if (!streq(type, "eap") && !streq(type, "xauth") && !streq(type, "ike")) + if (!streq(type, "eap") && !streq(type, "xauth") && !streq(type, "ntlm") && + !streq(type, "ike")) { /* skip non-shared secrets */ return TRUE; } |