]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_manifest/lib/Download.cpp
Security-58286.1.32.tar.gz
[apple/security.git] / OSX / libsecurity_manifest / lib / Download.cpp
index 69171c43b8942317581f669b2c5cf4b18f2a72d4..ce4a4efca679fca00f329564476afaff79dd84f5 100644 (file)
@@ -109,7 +109,6 @@ void Download::GoOrNoGo (SecTrustResultType result)
                // we don't in this case, as the Apple signing root had better be
                // in X509 anchors.  I'm leaving this broken out for ease of use
                // in case we change our minds...
-               case kSecTrustResultConfirm:
                case kSecTrustResultRecoverableTrustFailure:
                case kSecTrustResultUnspecified:
                {
@@ -181,7 +180,7 @@ void Download::ParseTicket (CFDataRef ticket)
        
        // from the hashing dictionary, get the sector size
        number = (CFNumberRef) CFDictionaryGetValue (hashInfo, SD_XML_SECTOR_SIZE);
-       CFNumberGetValue (number, kCFNumberSInt32Type, &mSectorSize);
+       CFNumberGetValue (number, kCFNumberSInt64Type, &mSectorSize);
        
        // get the hashes
        mHashes = (CFDataRef) CFDictionaryGetValue (hashInfo, SD_XML_DIGESTS);