core: blob+stream: Store stream/blob hashes
Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
@@ -95,6 +95,9 @@ blob_list_dump(struct blob_list *lp)
|
||||
while (blob != NULL) {
|
||||
printf("blob %zd/%zd\n", count++, lp->count);
|
||||
printf("... length :: %zd\n", blob->length);
|
||||
printf("... hash :: ");
|
||||
dump_bytes(blob->hash, SHA256_N_BYTES);
|
||||
|
||||
printf("... data :: ");
|
||||
dump_bytes(blob->data, blob->length < DUMP_SIZE
|
||||
? blob->length
|
||||
|
||||
Reference in New Issue
Block a user