Subject: Re: RE : For the interested ones : libssh2_userauth_publickey_fromfile andlibssh2_userauth_hostbased_fromfile with no need of the publickey file

Re: RE : For the interested ones : libssh2_userauth_publickey_fromfile andlibssh2_userauth_hostbased_fromfile with no need of the publickey file

From: Mikhail Gusarov <dottedmag_at_dottedmag.net>
Date: Fri, 27 Mar 2009 17:24:52 +0600

Twas brillig at 12:15:51 27.03.2009 UTC+01 when Jean-Louis.CHARTON_at_oikialog.com did gyre and gimble:

JC> + p_bytes = BN_num_bytes(dsa->p) + 1;
JC> + q_bytes = BN_num_bytes(dsa->q) + 1;
JC> + g_bytes = BN_num_bytes(dsa->g) + 1;
JC> + k_bytes = BN_num_bytes(dsa->pub_key) + 1;

Seems that the patch works only with OpenSSL. Can you make it compiling
with GnuTLS too? IIRC there is no way to easily do the same, so it can
just "return -1" in this case.

-- 

------------------------------------------------------------------------------

_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Received on 2009-03-27