From 39d35c11307e31434cc71f0412b6ec34c7e3ee69 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 7 Mar 2005 09:30:06 +0000 Subject: [PATCH] * 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 --- ext/openssl/ossl_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index d527f5ddc5..ca3fb19085 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -434,7 +434,7 @@ ossl_ssl_setup(VALUE self) } #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 #define ssl_get_error(ssl, ret) SSL_get_error(ssl, ret) #endif