diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-10 13:58:31 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-10 13:58:31 +0000 |
commit | fb65eed72ea35ff40ce9d89aa336a7e8c5d57850 (patch) | |
tree | c8f9030381e8aa7e05b222c680d702059e2ac333 | |
parent | 8852a09e9e539dfff79df88b1cea23ffc75262f7 (diff) | |
download | ruby-fb65eed72ea35ff40ce9d89aa336a7e8c5d57850.tar.gz |
* ext/openssl/ossl.h: define OSSL_NO_CONF_API for win32 platform.
libeay32.dll doesn't export functions defined in conf_api.h.
this workaround is to avoid link error.
* ext/openssl/ossl_config.c (ossl_config_initialize): ditto.
* ext/openssl/ossl_config.c (ossl_config_add_value): ditto.
* ext/openssl/ossl_config.c (set_conf_section_i): should check
if the argument is Array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | ext/openssl/ossl_config.c | 1 |
2 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,16 @@ +Wed Sep 10 22:47:30 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> + + * ext/openssl/ossl.h: define OSSL_NO_CONF_API for win32 platform. + libeay32.dll doesn't export functions defined in conf_api.h. + this workaround is to avoid link error. + + * ext/openssl/ossl_config.c (ossl_config_initialize): ditto. + + * ext/openssl/ossl_config.c (ossl_config_add_value): ditto. + + * ext/openssl/ossl_config.c (set_conf_section_i): should check + if the argument is Array. + Wed Sep 10 22:41:54 2003 Tietew <tietew@tietew.net> * eval.c (win32_get_exception_list): avoid VC7 warning. diff --git a/ext/openssl/ossl_config.c b/ext/openssl/ossl_config.c index 1e42cb6e9f..baed8345e7 100644 --- a/ext/openssl/ossl_config.c +++ b/ext/openssl/ossl_config.c @@ -220,6 +220,7 @@ set_conf_section_i(VALUE i, VALUE *arg) { VALUE name, value; + Check_Type(i, T_ARRAY); name = rb_ary_entry(i, 0); value = rb_ary_entry(i, 1); ossl_config_add_value(arg[0], arg[1], name, value); |