Introduced ipsec.conf NTLM keyword for NT hashes

This commit is contained in:
Martin Willi
2010-03-17 18:51:00 +01:00
parent a7fb418edd
commit f0da32c58d
+1
View File
@@ -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)) || else if ((match("PSK", &token) && (type = SHARED_IKE)) ||
(match("EAP", &token) && (type = SHARED_EAP)) || (match("EAP", &token) && (type = SHARED_EAP)) ||
(match("NTLM", &token) && (type = SHARED_NT_HASH)) ||
(match("XAUTH", &token) && (type = SHARED_EAP))) (match("XAUTH", &token) && (type = SHARED_EAP)))
{ {
stroke_shared_key_t *shared_key; stroke_shared_key_t *shared_key;