Re: Accessing OpenSSL functions from CFM Carbon under Tiger
Re: Accessing OpenSSL functions from CFM Carbon under Tiger
- Subject: Re: Accessing OpenSSL functions from CFM Carbon under Tiger
- From: Daniel Jalkut <email@hidden>
- Date: Mon, 4 Jul 2005 13:37:49 -0700
It sounds like you were depending on a huge coincidence in Panther, and that coincidence disappeared in Tiger.
As far as I know, the SSL functions are not advertised as being part of any framework on OS X. They are supposed to be accessed directly from the libssl dylib. Examining my Panther system, I can't see anything obvious that explains why the bundle calls were working for you even on Panther.
I don't think CFBundle can load entry points from a dylib directly. Since you can't (I don't think) access the DYLD functions directly from CFM, either, you might have to come up with some kind of bundle interface of your own that links to and re-exports from libssl. You might find some more info by searching the list archives for more general OS X programming topics.
Daniel On Jul 4, 2005, at 1:08 AM, Eric Arlotti wrote: This works great under Panther but it fails under Tiger : CFBundleGetFunctionPointerForName returns NULL for some OpenSSL functions (all those that begin with "SSL_") but not for BSD sockets functions. I thought that something had changed with Tiger, so I tried to load "System.framework" or "Security.framework" instead of ''ApplicationServices.framework'" but this gave the same result.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden