diff options
| author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-22 01:58:41 +0000 |
|---|---|---|
| committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-22 01:58:41 +0000 |
| commit | 299df8bcbb9fb761bd45c1c4fce28d20c98355ed (patch) | |
| tree | 7f52667230c8a1deb14f64af263089724073fb9d | |
| parent | 00054d4dff10a51bece3e225f8861ff0a7f51785 (diff) | |
* ext/openssl/ossl_config.c (ossl_config_set_section): do not
initialize aggregations with dynamic values. [ruby-talk:259306]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@13192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | ext/openssl/ossl_config.c | 5 | ||||
| -rw-r--r-- | version.h | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Wed Aug 22 10:57:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/openssl/ossl_config.c (ossl_config_set_section): do not + initialize aggregations with dynamic values. [ruby-talk:259306] + Wed Aug 22 10:55:00 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * eval.c (get_backtrace): check the result more. diff --git a/ext/openssl/ossl_config.c b/ext/openssl/ossl_config.c index ef89fdfe0..f1d6a9825 100644 --- a/ext/openssl/ossl_config.c +++ b/ext/openssl/ossl_config.c @@ -245,7 +245,10 @@ set_conf_section_i(VALUE i, VALUE *arg) static VALUE ossl_config_set_section(VALUE self, VALUE section, VALUE hash) { - VALUE arg[2] = { self, section }; + VALUE arg[2]; + + arg[0] = self; + arg[1] = section; rb_iterate(rb_each, hash, set_conf_section_i, (VALUE)arg); return hash; } @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2007-08-22" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20070822 -#define RUBY_PATCHLEVEL 72 +#define RUBY_PATCHLEVEL 73 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |
