libpurple.framework and SSL Support
Evan Schoenberg, M.D.
evan at adium.im
Wed Mar 7 03:51:37 UTC 2012
Adium uses the Security framework and CDSA via an libpurple extension (ssl-cdsa.c). Search the Adium source tree for purple_init_ssl_plugin() and purple_init_ssl_cdsa_plugin(), add ssl.c and ss-cdsa.c, and be sure to define HAVE_CDSA in your preprocessor defines on the target and link against Security.framework.
-Evan
On Mar 6, 2012, at 9:45 PM, John Indra wrote:
> Hi all,
>
> I am trying to learn libpurple. Since I use a Mac and Adium uses libpurple, I thought I could start with Adium's copy of libpurple.framework. I am using the latest Adium beta 1.5rc5.
>
> After creating a new Cocoa app using Xcode 4, I dragged the following directories (from /Applications/Adium.app/Contents/Frameworks):
> libglib.framework
> libgmodule.framework
> libgobject.framework
> libgthread.framework
> libintl.framework
> libjson-glib.framework
> libmeanwhile.framework
> libotr.framework
> libpurple.framework
> to my project's Frameworks (I copied all to my project directory). Xcode then automatically added those frameworks to the list of libraries my app will be linked against. I also set so those frameworks will be copied to the app bundle. I copied all the headers from Adium's repo so I could build my app. All went fine… until this function:
>
> purple_ssl_is_supported() returns FALSE
>
> There must be something missing in my setup. How do I get SSL support with Adium supplied libpurple?
>
> Thanks in advance.
>
> Best regards,
> John
>
>
More information about the devel
mailing list