Use a generic encoding type for all variable length chunks

This commit is contained in:
Martin Willi
2012-03-20 17:30:42 +01:00
parent ee50a29385
commit 95a26523af
18 changed files with 23 additions and 199 deletions
@@ -90,7 +90,7 @@ static encoding_rule_t encodings[] = {
/* 1 Byte CERTREQ type*/
{ U_INT_8, offsetof(private_certreq_payload_t, encoding) },
/* some certreq data bytes, length is defined in PAYLOAD_LENGTH */
{ CERTREQ_DATA, offsetof(private_certreq_payload_t, data) }
{ CHUNK_DATA, offsetof(private_certreq_payload_t, data) }
};
/*