From ed105f45afca41b4e445c18f24f219352a4c6ef0 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 16 Nov 2016 17:12:33 +0100 Subject: vici: Add support for NT Hash secrets Fixes #1002. --- src/libcharon/plugins/vici/vici_cred.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libcharon') diff --git a/src/libcharon/plugins/vici/vici_cred.c b/src/libcharon/plugins/vici/vici_cred.c index 04a13b4fa..c8d71138c 100644 --- a/src/libcharon/plugins/vici/vici_cred.c +++ b/src/libcharon/plugins/vici/vici_cred.c @@ -339,6 +339,10 @@ CALLBACK(load_shared, vici_message_t*, { type = SHARED_EAP; } + else if (strcaseeq(str, "ntlm")) + { + type = SHARED_NT_HASH; + } else { return create_reply("invalid shared key type: %s", str); -- cgit v1.2.3