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
@@ -96,7 +96,7 @@ static encoding_rule_t encodings[] = {
{ RESERVED_BYTE, offsetof(private_auth_payload_t, reserved_byte[1]) },
{ RESERVED_BYTE, offsetof(private_auth_payload_t, reserved_byte[2]) },
/* some auth data bytes, length is defined in PAYLOAD_LENGTH */
{ AUTH_DATA, offsetof(private_auth_payload_t, auth_data) }
{ CHUNK_DATA, offsetof(private_auth_payload_t, auth_data) }
};
/*