diff options
author | Martin Willi <martin@revosec.ch> | 2010-03-17 18:48:25 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-03-17 18:51:00 +0100 |
commit | f0da32c58d6a685b941c0c1f7355329749ee3e47 (patch) | |
tree | a3a7c8ce37a8a0a1795a5706a71bb9ab27a8a6ed /src | |
parent | a7fb418edd660cd1d66bf13673f522e11867887e (diff) | |
download | strongswan-f0da32c58d6a685b941c0c1f7355329749ee3e47.tar.bz2 strongswan-f0da32c58d6a685b941c0c1f7355329749ee3e47.tar.xz |
Introduced ipsec.conf NTLM keyword for NT hashes
Diffstat (limited to 'src')
-rw-r--r-- | src/charon/plugins/stroke/stroke_cred.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/charon/plugins/stroke/stroke_cred.c b/src/charon/plugins/stroke/stroke_cred.c index bc0b2f6fc..e0a5210a9 100644 --- a/src/charon/plugins/stroke/stroke_cred.c +++ b/src/charon/plugins/stroke/stroke_cred.c @@ -993,6 +993,7 @@ static void load_secrets(private_stroke_cred_t *this, char *file, int level, } else if ((match("PSK", &token) && (type = SHARED_IKE)) || (match("EAP", &token) && (type = SHARED_EAP)) || + (match("NTLM", &token) && (type = SHARED_NT_HASH)) || (match("XAUTH", &token) && (type = SHARED_EAP))) { stroke_shared_key_t *shared_key; |