aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/encoding/payloads/ke_payload.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-12-06 13:44:22 +0000
committerMartin Willi <martin@strongswan.org>2005-12-06 13:44:22 +0000
commitc3dc864eaa5cebae57be1b0e9339f2e7ebdbfe15 (patch)
tree2baf1492686585fa1cd4dc1aa12dded74b4a85d9 /Source/charon/encoding/payloads/ke_payload.c
parent59de50868b77f48ab78a31d4ad684e4e59d2e81f (diff)
downloadstrongswan-c3dc864eaa5cebae57be1b0e9339f2e7ebdbfe15.tar.bz2
strongswan-c3dc864eaa5cebae57be1b0e9339f2e7ebdbfe15.tar.xz
- code cleanup of encoding package
Diffstat (limited to 'Source/charon/encoding/payloads/ke_payload.c')
-rw-r--r--Source/charon/encoding/payloads/ke_payload.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/charon/encoding/payloads/ke_payload.c b/Source/charon/encoding/payloads/ke_payload.c
index da1b28f11..f1ba922ca 100644
--- a/Source/charon/encoding/payloads/ke_payload.c
+++ b/Source/charon/encoding/payloads/ke_payload.c
@@ -56,7 +56,6 @@ struct private_ke_payload_t {
*/
u_int16_t payload_length;
-
/**
* DH Group Number.
*/
@@ -274,7 +273,7 @@ ke_payload_t *ke_payload_create()
this->compute_length = compute_length;
/* set default values of the fields */
- this->critical = KE_PAYLOAD_CRITICAL_FLAG;
+ this->critical = FALSE;
this->next_payload = NO_PAYLOAD;
this->payload_length = KE_PAYLOAD_HEADER_LENGTH;
this->key_exchange_data.ptr = NULL;