From 8295165b3f5c7dac67149edc9e1ff8118a68a7ac Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Sun, 4 Sep 2016 02:48:33 +0900 Subject: Don't include openssl/e_os2.h It defines the platform specific macros. But it should be included from other OpenSSL headers. --- ext/openssl/ossl.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'ext') diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index 5405c72e..ad30cbf9 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -12,26 +12,12 @@ #include RUBY_EXTCONF_H -#if 0 - mOSSL = rb_define_module("OpenSSL"); - mX509 = rb_define_module_under(mOSSL, "X509"); -#endif - #include +#include #include #include #include - #include - -#if defined(_WIN32) && !defined(LIBRESSL_VERSION_NUMBER) -# include -# if !defined(OPENSSL_SYS_WIN32) -# define OPENSSL_SYS_WIN32 1 -# endif -# include -#endif -#include #include #include #include -- cgit v1.2.3