• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
10.5sdk compile problems (cssmtype.h)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10.5sdk compile problems (cssmtype.h)


  • Subject: 10.5sdk compile problems (cssmtype.h)
  • From: Nick Briggs <email@hidden>
  • Date: Sun, 11 Nov 2007 14:09:04 +0000

Hi

we're trying to compile our app in xcode 3 using 10.5sdk and 10.5 deployment target

we have one error, as below, relating to CSSM_SIZE defiined in cssmtype.h

any idea how to avoid this without modifying our code?



// error
invalid conversion from 'void* (*)(uint32, void*)' to 'void* (*) (CSSM_SIZE, void*)'
initializing argument 6 of 'CSSM_RETURN CSSM_EncryptData (CSSM_CC_HANDLE, const CSSM_DATA*, uint32, cssm_data*, uint32, CSSM_SIZE*, cssm_data*)'
//



// our code
uint32 bytesEncrypted;
crtn = CSSM_EncryptDataUpdate(ccHandle, plainText,1,cipherText, 1,&bytesEncrypted);




// header
CSSM_EncryptDataUpdate (CSSM_CC_HANDLE CCHandle,
                        const CSSM_DATA *ClearBufs,
                        uint32 ClearBufCount,
                        CSSM_DATA_PTR CipherBufs,
                        uint32 CipherBufCount,
                        uint32 *bytesEncrypted);



Cheers

Nick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: "file is not of required architecture" error on most sample code builds on xcode 3
  • Next by Date: Help! Xcode deleted 1.5 years of work
  • Previous by thread: Using git as SCM with XCode
  • Next by thread: Re: 10.5sdk compile problems (cssmtype.h)
  • Index(es):
    • Date
    • Thread