diff --git a/src/import/pull-oci.c b/src/import/pull-oci.c index 90dfee9ed4..c2d9bfeddf 100644 --- a/src/import/pull-oci.c +++ b/src/import/pull-oci.c @@ -366,7 +366,7 @@ static int oci_pull_redirect_manifest(OciPull *i, const OciIndexEntry *entry) { j->on_finished = oci_pull_job_on_finished_manifest; j->calc_checksum = true; - if (!iovec_memdup(&entry->digest, &j->checksum)) + if (!iovec_memdup(&entry->digest, &j->expected_checksum)) return -ENOMEM; j->description = strjoin("Image Manifest (", url, ")");