From: Yusuke Endoh Date: 2010-04-21T20:14:57+09:00 Subject: [ruby-core:29682] [Bug #3093] Openssl Extension Does Not Compile with OpenSSL 1.0 Issue #3093 has been updated by Yusuke Endoh. Assigned to set to Usaku NAKAMURA Hi, > Even with the latest patches (working against head), the openssl extension does not compile against openssl 1.0. I cannot reproduce with gcc and Linux: $ ./configure --prefix=... --with-openssl-dir=... $ make && make install $ ../ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION' "OpenSSL 1.0.0 29 Mar 2010" Maybe windows-specific issue? I don't understand your patch, but after it is applied, gcc prints some warning, which looks dangerous: ossl_config.c: In function ���get_conf_section_LHASH_DOALL_ARG���: ossl_config.c:323: warning: passing argument 1 of ���get_conf_section_doall_arg��� from incompatible pointer type ossl_config.c:317: note: expected ���struct CONF_VALUE *��� but argument is of type ���struct CONF_VALUE **��� ossl_config.c:323: warning: passing argument 2 of ���get_conf_section_doall_arg��� makes integer from pointer without a cast ossl_config.c:317: note: expected ���VALUE��� but argument is of type ���VALUE *��� ossl_config.c: In function ���ossl_config_get_sections���: ossl_config.c:333: warning: passing argument 1 of ���lh_doall_arg��� from incompatible pointer type -- Yusuke Endoh ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3093 ---------------------------------------- http://redmine.ruby-lang.org