10.5sdk compile problems (cssmtype.h)
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