mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/ossl_ssl.c (ssl_get_error): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
82849c97dd
commit
39d35c1130
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ ossl_ssl_setup(VALUE self)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define ssl_get_error(ssl, ret) (errno = GetLastError(), SSL_get_error(ssl, ret))
|
#define ssl_get_error(ssl, ret) (errno = WSAGetLastError(), SSL_get_error(ssl, ret))
|
||||||
#else
|
#else
|
||||||
#define ssl_get_error(ssl, ret) SSL_get_error(ssl, ret)
|
#define ssl_get_error(ssl, ret) SSL_get_error(ssl, ret)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue