diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2016-02-04 15:20:26 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-02-04 16:05:59 +0100 |
commit | c86d1f19fc69adacdd8d5955193330e18a0c7ebb (patch) | |
tree | 0cdc4f382ed3b3d3cd702610a264fddef78282d6 /crypto/err | |
parent | df057ea6c8a20e4babc047689507dfafde59ffd6 (diff) | |
download | openssl-c86d1f19fc69adacdd8d5955193330e18a0c7ebb.tar.gz |
Use WSAGetLastError() on windows
Windows doesn't have h_error or hstrerror()
Reviewed-by: Richard Levitte <levitte@openssl.org>
MR: #1848
Diffstat (limited to 'crypto/err')
-rw-r--r-- | crypto/err/err.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c index 6cb582debe..64f8adc46d 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -178,6 +178,7 @@ static ERR_STRING_DATA ERR_str_functs[] = { {ERR_PACK(0, SYS_F_SETSOCKOPT, 0), "setsockopt"}, {ERR_PACK(0, SYS_F_GETSOCKOPT, 0), "getsockopt"}, {ERR_PACK(0, SYS_F_GETSOCKNAME, 0), "getsockname"}, + {ERR_PACK(0, SYS_F_GETHOSTBYNAME, 0), "gethostbyname"}, {0, NULL}, }; |