aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-11-16 17:12:33 +0100
committerTobias Brunner <tobias@strongswan.org>2017-02-16 19:23:51 +0100
commited105f45afca41b4e445c18f24f219352a4c6ef0 (patch)
treead00aa9fbf1f38fff645ea2a281ac1d5263c089c /src/libcharon
parent3bedf10b25fe8d5241709a446b3e1faffdc79b01 (diff)
downloadstrongswan-ed105f45afca41b4e445c18f24f219352a4c6ef0.tar.bz2
strongswan-ed105f45afca41b4e445c18f24f219352a4c6ef0.tar.xz
vici: Add support for NT Hash secrets
Fixes #1002.
Diffstat (limited to 'src/libcharon')
-rw-r--r--src/libcharon/plugins/vici/vici_cred.c4
1 files changed, 4 insertions, 0 deletions
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);