VirtualBox

Ignore:
Timestamp:
Aug 31, 2014 9:56:35 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95797
Message:

fix it in the function being called instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/pkcs7-verify.cpp

    r52540 r52542  
    345345            return VINF_SUCCESS;
    346346        }
    347 
     347    *phDigest = NIL_RTCRDIGEST; /* Make gcc happy. */
    348348    return RTErrInfoSetF(pErrInfo, VERR_CR_PKCS7_DIGEST_ALGO_NOT_FOUND_IN_LIST,
    349349                         "SignerInfo.DigestAlgorithm %s not found.",
     
    643643            for (i = 0; i < pSignedData->SignerInfos.cItems; i++)
    644644            {
    645                 PCRTCRPKCS7SIGNERINFO   pSignerInfo       = &pSignedData->SignerInfos.paItems[i];
    646                 RTCRDIGEST              hThisDigest       = NIL_RTCRDIGEST;
     645                PCRTCRPKCS7SIGNERINFO   pSignerInfo = &pSignedData->SignerInfos.paItems[i];
     646                RTCRDIGEST              hThisDigest;
    647647                rc = rtCrPkcs7VerifyFindDigest(&hThisDigest, pSignedData, pSignerInfo, ahDigests, pErrInfo);
    648648                if (RT_FAILURE(rc))
Note: See TracChangeset for help on using the changeset viewer.

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