Subject: Re: Key exchange trashing memory

Re: Key exchange trashing memory

From: James Sumners <>
Date: Mon, 22 Oct 2012 18:58:20 -0400

On 2012-10-22 16:45:57 +0000, Mike Abdullah said:

> On 22 Oct 2012, at 17:39, James Sumners wrote:
>> I think I've found the problem. Xcode is insisting on linking to the OS
>> X bundled version of OpenSSL. I'm in the process of trying to figure
>> out how to force it to use the right library.
> Aha, well our code does specially link against an old copy of libcrypto
> just so we can force Xcode to use the right one. We don’t actually
> deploy a copy of the library, just use it to nudge the linker.

It was definitely a problem with my test application linking to the
system libcrypto.dylib instead of my own libcrypto.a. Took a while to
figure out how to fix that. I'll post instructions along with my
interface when it's releasable.

Received on 2012-10-23