www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Key exchange trashing memory

Re: Key exchange trashing memory

From: James Sumners <james.sumners_at_gmail.com>
Date: Mon, 22 Oct 2012 12:39:21 -0400

On 2012-10-22 15:25:19 +0000, Mike Abdullah said:

> On 22 Oct 2012, at 13:39, James Sumners wrote:
>> On 2012-10-22 08:46:49 +0000, Mike Abdullah said:
>>> James,
>>> If you're interested, our libssh2 wrapper lives here:
>>> https://github.com/karelia/libssh2_sftp-Cocoa-wrapper
>>> It might help locate your problem. (Even better in my book if you can
>>> just extend it to your needs)
>> Looks good, but I'm going in a different direction with my interface.
> If you care to publish it when finished, I would be very interested to
> see how you approach it differently.


>> In regard to the problem, I don't see anything in your session class
>> that would shed light on why libssh2 itself is failing. The error is
>> occuring during the handshake while negotiating encryption keys.
> I figured you might spot a difference in how the two talk to libssh2
> that might throw light on the problem. Nothing more helpful than that
> I’m afraid.

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.

libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-10-22

the libssh2 team