• 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
Re: 10.5sdk compile problems (cssmtype.h)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.5sdk compile problems (cssmtype.h)


  • Subject: Re: 10.5sdk compile problems (cssmtype.h)
  • From: Greg Guerin <email@hidden>
  • Date: Sun, 11 Nov 2007 12:02:15 -0700

Nick Briggs wrote:

>// 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);

Maybe I'm missing something subtle, but the error is for this function:
  CSSM_EncryptData()

and your source extract calls this function:
  CSSM_EncryptDataUpdate()

Looking in the header file cssmapi.h, these are listed as separate
functions with different parameter types, and AFAICT one is not a macro
expansion of the other.


Or is your question "How is it that our code is calling one function,
CSSM_EncryptDataUpdate(), but the error is about an entirely different
function, CSSM_EncryptData()?"

If that's the question, my only suggestion is "Make sure you don't have any
private macros for CSSM_EncryptDataUpdate()".

  -- GG


 _______________________________________________
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: Noob - Embedded helper application
  • Next by Date: libTIFF universal binary?
  • Previous by thread: 10.5sdk compile problems (cssmtype.h)
  • Next by thread: Help! Xcode deleted 1.5 years of work
  • Index(es):
    • Date
    • Thread