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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user