Re-enable static inclusion of PSK auth method into IKEv1 proposal
authorMartin Willi <martin@revosec.ch>
Fri, 18 Nov 2011 08:16:54 +0000 (09:16 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:30:43 +0000 (17:30 +0100)
src/libcharon/encoding/payloads/proposal_substructure.c

index 20f4e22..aa3f067 100644 (file)
@@ -780,10 +780,10 @@ static void set_from_proposal_v1_ike(private_proposal_substructure_t *this,
        }
        enumerator->destroy(enumerator);
 
-       /* TODO-IKEv1: Add lifetime, non-fixed auth-method and other attributes
+       /* TODO-IKEv1: Add lifetime, non-fixed auth-method and other attributes */
        transform->add_transform_attribute(transform,
                transform_attribute_create_value(TRANSFORM_ATTRIBUTE_V1,
-                                                       TATTR_PH1_AUTH_METHOD, IKEV1_AUTH_PSK));*/
+                                                       TATTR_PH1_AUTH_METHOD, IKEV1_AUTH_PSK));
 
        add_transform_substructure(this, transform);
 }