commit | 514213bf72cb61725e42440aaf8dd53fa4c33a74 | [log] [tgz] |
---|---|---|
author | Erik Faye-Lund <kusmabite@googlemail.com> | Mon Oct 19 17:42:07 2009 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Oct 19 22:17:36 2009 -0700 |
tree | 541407959d427118350b2277cacb307219b8dfce | |
parent | f9a88b70f94917f95e247a0e6e4d37f163fb41e3 [diff] |
mingw: wrap SSL_set_(w|r)fd to call _get_osfhandle 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> Signed-off-by: Junio C Hamano <gitster@pobox.com>