Bugs item #2731272, was opened at 2009-04-04 14:43 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2731272&group_id=125852
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Daniel Stenberg (bagder) Summary: libssh2_userauth_publickey_fromfile crashed in windows XP Initial Comment: libssh2_userauth_publickey_fromfile crashed in windows XP. When I further debugged the problem , I found it was crashing in PEM_read_RSAPrivateKey (openssl.c). When I replaced this API with PEM_read_bio_RSAPrivateKey, things started working. May I know why this behavior - Harish Jadhav ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2009-04-06 05:38 Message: I know PEM_read_RSAPrivateKey uses File * and when I pass file pointer to this function, this was leading to crash. Some one else also had a problem. Pls refer http://www.mail-archive.com/libssh2-devel@lists.sourceforge.net/msg00758.html should make sense. ---------------------------------------------------------------------- Comment By: Daniel Stenberg (bagder) Date: 2009-04-04 21:12 Message: It makes no sense, the function reads data from a FILE * not a BIO *! https://www.openssl.org/docs/crypto/pem.html seems to document these specific functions. Can you make any sense from it? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=703942&aid=2731272&group_id=125852 ------------------------------------------------------------------------------ _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel