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