Replaced calls to OpenSSL FILE-pointer functions.

Passing a FILE* argument across a DLL boundary causes problems on Windows.  Instead the keys are read into memory by libssh2 and passed to the OpenSSL functions as BIO* arguments.
This commit is contained in:
Alexander Lamaison
2009-08-02 23:20:20 +01:00
parent 6c46bb4719
commit 231a97a95f
3 changed files with 93 additions and 17 deletions

View File

@@ -27,6 +27,7 @@ This release includes the following bugfixes:
o public headers includable on their own
o bad debugdump() caused SIGSEGV at times (when libssh2_trace() was used)
o possible data loss when send_existing() failed to send its buffer
o passing FILE*s across DLL boundaries (OpenSSL) caused crashes on Windows
This release would not have looked like this without help, code, reports and
advice from friends like these: