Changeset 59567 in vbox for trunk/src/VBox/Main
- Timestamp:
- Feb 3, 2016 12:17:58 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r59565 r59567 1538 1538 /* Add the digest of the ovf to our verification manifest. */ 1539 1539 vrc = RTManifestEntrySetAttr(stack.hSrcDisksManifest, RTPathFilename(pTask->locInfo.strPath.c_str()), 1540 m->fSha256 ? "SHA256" : "SHA1", m->strOVFSHADigest.c_str(),1540 NULL /*pszAttr*/, m->strOVFSHADigest.c_str(), 1541 1541 m->fSha256 ? RTMANIFEST_ATTR_SHA256 : RTMANIFEST_ATTR_SHA1); 1542 1542 if (RT_FAILURE(vrc)) … … 1797 1797 { 1798 1798 /* Add the ovf file digest to the verification list. */ 1799 vrc = RTManifestEntrySetAttr(stack.hSrcDisksManifest, OVFfilename.c_str(), m->fSha256 ? "SHA256" : "SHA1",1799 vrc = RTManifestEntrySetAttr(stack.hSrcDisksManifest, OVFfilename.c_str(), NULL /*pszAttr*/, 1800 1800 m->strOVFSHADigest.c_str(), m->fSha256 ? RTMANIFEST_ATTR_SHA256 : RTMANIFEST_ATTR_SHA1); 1801 1801 if (RT_FAILURE(vrc)) … … 2152 2152 szDigest, sizeof(szDigest), &fType); 2153 2153 if (RT_SUCCESS(vrc)) 2154 vrc = RTManifestEntrySetAttr(hOvfManifest, pszOvfEntry, 2155 fType == RTMANIFEST_ATTR_SHA256 ? "SHA256" : "SHA1", szDigest, fType); 2154 vrc = RTManifestEntrySetAttr(hOvfManifest, pszOvfEntry, NULL /*pszAttr*/, szDigest, fType); 2156 2155 } 2157 2156 if (RT_SUCCESS(vrc)) … … 2737 2736 vrc = RTManifestEntrySetAttr(stack.hSrcDisksManifest, 2738 2737 strSourceOVF.c_str(), 2739 pStorage->fSha256 ? "SHA256" : "SHA1",2738 NULL /*pszAttr*/, 2740 2739 pStorage->strDigest.c_str(), 2741 2740 pStorage->fSha256 ? RTMANIFEST_ATTR_SHA256 : RTMANIFEST_ATTR_SHA1);
Note:
See TracChangeset
for help on using the changeset viewer.