diff options
author | Matthias Bolte <photron@users.sourceforge.net> | 2010-11-19 13:31:34 -0800 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2010-11-19 13:34:07 -0800 |
commit | a83870ef9d1758de371551844efa4f17dda71581 (patch) | |
tree | 495eb436ba53e190d9cf2dfac94e42e3f847d485 /lib/strerror.c | |
parent | a768e39b2d6bd60cbf71e983f1003b22603cb71e (diff) |
Detect socket errors in GnuTLS on Windows
On Windows, translate WSAGetLastError() to errno values as GNU
TLS does it internally, too. This is necessary because send() and
recv() on Windows don't set errno when they fail but GNU TLS
expects a proper errno value.
Bug: http://curl.haxx.se/bug/view.cgi?id=3110991
Diffstat (limited to 'lib/strerror.c')
0 files changed, 0 insertions, 0 deletions