VirtualBox

Changeset 52540 in vbox


Ignore:
Timestamp:
Aug 31, 2014 9:49:47 PM (10 years ago)
Author:
vboxsync
Message:

RTCrPkcs7VerifySignedData: initialize hThisDigest to NIL_RTCRDIGEST to
unbreak the build. At least gcc 4.6 thinks that it may be used
uninitialized.

File:
1 edited

Legend:

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

    r52537 r52540  
    644644            {
    645645                PCRTCRPKCS7SIGNERINFO   pSignerInfo       = &pSignedData->SignerInfos.paItems[i];
    646                 RTCRDIGEST              hThisDigest;
     646                RTCRDIGEST              hThisDigest       = NIL_RTCRDIGEST;
    647647                rc = rtCrPkcs7VerifyFindDigest(&hThisDigest, pSignedData, pSignerInfo, ahDigests, pErrInfo);
    648648                if (RT_FAILURE(rc))
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