Use of cURL and OpenSSL versus CF and NS Classes
-
I'm porting some code to OS X (10.4 is minimum required level) that uses the
cURL and OpenSSL libraries. I see both of these libraries are present in
the /usr/lib directory on a stock machine. So, I am assuming they are
included in the base OS X build. What I'm wondering is, is it safe to
assume these will be present for the foreseeable 10.x future, or should I
take the time now to convert this code to use the Core foundation classes.
The code is a mix of C and C++, and I wasn't planning on moving to
Objective-C unless there is a hard requirement to do so.
I know there isn't a definitive answer here, but I'm hoping the wealth of
experience on this list can provide some good advice.
Tom Fortmann
Xcape Solutions Inc. -
On Nov 3, 2008, at 9:37 AM, Tom Fortmann wrote:
> I'm porting some code to OS X (10.4 is minimum required level) that
> uses the
> cURL and OpenSSL libraries. I see both of these libraries are
> present in
> the /usr/lib directory on a stock machine. So, I am assuming they are
> included in the base OS X build. What I'm wondering is, is it safe to
> assume these will be present for the foreseeable 10.x future
Yes, since it would break a lot of apps if one of those libraries was
removed. Apple still ships Mac OS X with OpenSSL 0.9.6, for example,
even though it's obsolete, because some older apps depend on it.
Nick Zitzmann
<http://www.chronosnet.com/>



