Twas brillig at 12:15:51 27.03.2009 UTC+01 when jean-louis.char...@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.

-- 

Attachment: pgptO5pO9D67w.pgp
Description: PGP signature

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

Reply via email to