Use a generic encoding type for all variable length chunks
This commit is contained in:
@@ -62,7 +62,7 @@ static encoding_rule_t encodings[] = {
|
||||
/* Length of the whole payload*/
|
||||
{ PAYLOAD_LENGTH, offsetof(private_hash_payload_t, payload_length) },
|
||||
/* Hash Data is from variable size */
|
||||
{ HASH_DATA, offsetof(private_hash_payload_t, hash) },
|
||||
{ CHUNK_DATA, offsetof(private_hash_payload_t, hash) },
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user