Re: libpurple.framework and SSL Support

2012-03-07 Thread Thijs Alkemade
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

Re: libpurple.framework and SSL Support

2012-03-07 Thread John Indra
Hi Thijs, Thank you so much for elaborating. Looks like Evan already gave me the complete guide but I failed to understand. Thus now here's my position: I added the 2 files you mentioned: ssl.c and ssl-cdsa.c to my project, add Security.framework, add HAVE_CDSA in preprocessor macros, for

Fwd: libpurple.framework and SSL Support

2012-03-07 Thread John Indra
Sent the thank you message using another email account so it bounced. Resending Begin forwarded message: From: John Indra i.j...@me.com Subject: Re: libpurple.framework and SSL Support Date: March 7, 2012 4:13:15 PM GMT+07:00 To: Thijs Alkemade thijsalkem...@gmail.com, Adium Development List

Re: libpurple.framework and SSL Support

2012-03-07 Thread Evan Schoenberg
You need to call those 2 init functions I mentioned, after libpurple is initialized by your calls to init the core and other modules. That's why I suggested searching for them; you'll want to work backwards from where they're called in Adium's source to look at the overall initialization flow

Re: libpurple.framework and SSL Support

2012-03-07 Thread John Indra
All, Sorry to bother you all with such a noob questions. I manage to get SSL support working! Thanks. I forgot to initialize the plugin. So sorry for that. w00t Thanks once more. Best regards, John On Mar 7, 2012, at 4:04 PM, John Indra wrote: Hi Thijs, Thank you so much for

Re: libpurple.framework and SSL Support

2012-03-07 Thread Evan Schoenberg
Great. Happy to help! No stupid questions; just stupid people. They were fine questions; Adium has a huge code base holding tons of knowledge that isn't always immediately evident if you don't know where to look. -Evan On Mar 7, 2012, at 3:13 AM, John Indra i.j...@me.com wrote: All,

libpurple.framework and SSL Support

2012-03-06 Thread John Indra
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

Re: libpurple.framework and SSL Support

2012-03-06 Thread John Indra
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? 2. If my app wants to have libpurple with SSL