core: Use OSTREE_SHA256_STRING_LEN instead of 64
Closes: #359 Approved by: cgwalters
This commit is contained in:
1 parent
91ccaff197
commit
4cb77c51db
14 files changed
+39
-27
No files matched your search
@@ -480,7 +480,7 @@ checkout_one_file_at (OstreeRepo *repo,
|
||||
key = g_new (OstreeDevIno, 1);
|
||||
key->dev = stbuf.st_dev;
|
||||
key->ino = stbuf.st_ino;
|
||||
memcpy (key->checksum, checksum, 65);
|
||||
memcpy (key->checksum, checksum, OSTREE_SHA256_STRING_LEN+1);
|
||||
|
||||
g_hash_table_add ((GHashTable*)options->devino_to_csum_cache, key);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user