aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/charon/encoding/generator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/charon/encoding/generator.c b/src/charon/encoding/generator.c
index e8db55a7f..6485da492 100644
--- a/src/charon/encoding/generator.c
+++ b/src/charon/encoding/generator.c
@@ -880,6 +880,8 @@ generator_t *generator_create()
this->current_bit = 0;
this->last_payload_length_position_offset = 0;
this->header_length_position_offset = 0;
+ this->attribute_format = FALSE;
+ this->attribute_length = 0;
return &(this->public);
}