VirtualBox

Ignore:
Timestamp:
May 31, 2010 12:53:25 PM (15 years ago)
Author:
vboxsync
Message:

IPRT: added progress callback support to SHA1 digest calculation and manifest verification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImplImport.cpp

    r29894 r29901  
    671671        /* Create the SHA1 sum of the OVF file for later validation */
    672672        char *pszDigest;
    673         int vrc = RTSha1Digest(locInfo.strPath.c_str(), &pszDigest);
     673        int vrc = RTSha1Digest(locInfo.strPath.c_str(), &pszDigest, NULL, NULL);
    674674        if (RT_FAILURE(vrc))
    675675            throw setError(VBOX_E_FILE_ERROR,
     
    10651065        {
    10661066            char* pszDigest;
    1067             vrc = RTSha1Digest((*it1).c_str(), &pszDigest);
     1067            vrc = RTSha1Digest((*it1).c_str(), &pszDigest, NULL, NULL);
    10681068            pTestList[i].pszTestFile = (char*)(*it1).c_str();
    10691069            pTestList[i].pszTestDigest = pszDigest;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette