On Monday, August 12, 2013 16:07:19 Ján Osuský wrote:
> Hi,
>
> I used libssh2 1.4.2.
> The failure happened in kex.c in function "diffie_hellman_sha1" there is
> part of code: #if LIBSSH2_MD5
> {
> libssh2_md5_ctx fingerprint_ctx;
>
> libssh2_md5_init(&fingerprint_ctx);
> libssh2_md5_update(fingerprint_ctx, session->server_hostkey,
> session->server_hostkey_len);
> libssh2_md5_final(fingerprint_ctx,
> session->server_hostkey_md5); }
>
> which must not be called when MD5 is not available. That's why I
> concentrated on setting properly the "LIBSSH2_MD5".
I see. This is believed to be already fixed in libssh2 1.4.3:
http://git.libssh2.org/?p=libssh2.git;a=commitdiff;h=43b730ce
Kamil
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-08-12