- fixed bug in memory reallocation

This commit is contained in:
Jan Hutter
2005-11-10 09:31:07 +00:00
parent 67a57dc6f4
commit c7748338f2
5 changed files with 63 additions and 25 deletions
+4 -3
View File
@@ -1,7 +1,7 @@
/**
* @file generator.h
*
* @brief Generic generator class used to generate IKEv2-Header and Payload
* @brief Generic generator class used to generate IKEv2-header and payloads.
*
*/
@@ -27,12 +27,13 @@
#include "encodings.h"
/**
* Data Buffer for generating has start size of 3000 Bytes
* Generating is done in a data buffer.
* This is thehe start size of this buffer in Bytes.
*/
#define GENERATOR_DATA_BUFFER_SIZE 3000
/**
* Number of Bytes to increase the buffer if it is to small
* Number of bytes to increase the buffer, if it is to small.
*/
#define GENERATOR_DATA_BUFFER_INCREASE_VALUE 1000