Re: [msysGit] [PATCH v4 6/8] mingw: wrap SSL_set_(w|r)fd to call _get_osfhandle
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Oct 19, 2009, 18:20 UTC
- Message-ID
- <200910192020.40179.j6t@kdbg.org>
- In-Reply-To
- <1255966929-1280-7-git-send-email-kusmabite@gmail.com>
On Montag, 19. Oktober 2009, Erik Faye-Lund wrote:
Show 7 quoted lines
> SSL_set_fd (and friends) expects a OS file handle on Windows, not > a file descriptor as on UNIX(-ish). > > This patch makes the Windows version of SSL_set_fd behave like the > UNIX versions, by calling _get_osfhandle on it's input. > > Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Acked-by: Johannes Sixt <j6t@kdbg.org>
-- Hannes