On 24 Jun 2010, at 07:43, Richard Hood wrote: > does anyone know in which library the CCCrypt() routine is defined? I've > linked against libcrypto.dylib where it's defined in the header and > libSystem.dylib where the man page says it is but I'm still getting undefined > symbol errors on link. >
Hi Richard, what errors do you get? You certainly should be able to link just against libSystem without problems: jormungand:common_crypto_example leeg$ nm /usr/lib/libSystem.dylib | grep CCC 00000000001065df T _CCCrypt 000000000006ee17 T _CCCryptorCreate 00000000001064b3 T _CCCryptorCreateFromData 0000000000106446 T _CCCryptorFinal 0000000000106466 T _CCCryptorGetOutputLength 000000000006fb93 T _CCCryptorRelease 0000000000106486 T _CCCryptorReset 000000000006f06d T _CCCryptorUpdate Which SDK are you linking against? Graham. -- Graham Lee http://blog.securemacprogramming.com/ Author of Professional Cocoa Application Security http://www.amazon.co.uk/gp/product/0470525959?ie=UTF8&tag=thaeofer-21&linkCode=as2&camp=1634&creative=6738&creativeASIN=0470525959 _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com