>> I'm puzzled as well. I figure you need to set a break-point in kec.x and >> diffie_hellman_sha1() to see why (not) session->server_hostkey gets used >> properly.
PEBKAC. The problem is, of course, that the hostkey is not a null terminated string (which is how I was treating it) but a buffer of arbitrary data. Duh. I'm'a go hide in the corner now. _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
