On 7 mrt. 2012, at 05:09, John Indra wrote: > Hi Evan, > > Thank you very much for the prompt reply. Really appreciated. > > However I am new with C and Cocoa. Could you help answer the questions below? > > 1. Are you saying that the libpurple.framework supplied with Adium was built > with no SSL support?
That is correct. > 2. If my app wants to have libpurple with SSL support, do I have to recompile > from Adium's source? That is not necessary. The only two files from Adium's source you need are ssl.c and ssl_cdsa.c (see http://hg.adium.im/adium/file/tip/Plugins/Purple%20Service/libpurple_extensions/ssl.c and http://hg.adium.im/adium/file/tip/Plugins/Purple%20Service/libpurple_extensions/ssl-cdsa.c). You should be able to use these files without any other parts of Adium's source code (they only depend on libpurple itself and system frameworks). Here: http://hg.adium.im/adium/file/89eb0d28dc0f/Plugins/Purple%20Service/adiumPurpleCore.m#l73 you can see how these are loaded. > 3. Or can I just drop AdiumLibpurple.framework to my project and add > Security.framework? > You could, but AdiumLibpurple.framework is linked against Adium.framework, AIUtilities, etc. You'd bring in a lot more code then you'd need. Thijs