core: blob+stream: Store stream/blob hashes
Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
@@ -22,5 +22,6 @@ blob_allocate(struct data_stream *stmp)
|
||||
memcpy(bp->data, stmp->data, stmp->length);
|
||||
}
|
||||
|
||||
memcpy(bp->hash, stmp->hash, SHA256_N_BYTES);
|
||||
return bp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user